Hello listers,

I would like to create some templates. Suppose the following example:

<html>
<head>
<title>%s</title>
</head>
<body>
%s <p>
%s <p>
%s <p>
</body>
</html>

I can certainly use format to link %s to the respective variables.
However, if the number of %s is big, probabily, the reading would be
less clearer.

But, suppose I have $title in stead of %s and $p1 in stead of %s. In
Lua, I have a module called Cosmo taht perform it.

my question is: is there something similar in Pascal?

Luciano
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to