help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Procedures and functions] Reference for unit 'pwumain' (#powtils_main)

fmt

Declaration

Source position: pwumain.pas line 149

function fmt(

  const s: String

):String;

Notes

This function is similar to the TemplateOut function, except that instead of using macro variables inside a file, you can use macro variables inside program code using a regular string after calling SetWebVar.

The function returns a string with the $macro variables replaced with their values.

It is named 'fmt' so that it does not conflict with the sysutils Format() function.

See also

OutF, OutFF





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505