[fpc-pascal] fptemplate example wrong?
fpc-devel at aborka.com
Sat Apr 18 14:16:54 CEST 2015
The OnGetParam and OnReplaceTag are two totally different ways to handle
templates. The former is the original version found in FPC packages, the
latter is the newer, more Delphi-like - although enhanced - way to do
templates. The two are mutually exclusive and controlled by the
AllowTagParams flag (false -> old way, true -> new way).
The fptemplate.txt file under the FPC sources,
.../packages/fcl-base/texts/fptemplate.txt might help a little.
All the examples should work, BTW, with the new way, under
More information about the fpc-pascal