[Overview][Constants][Procedures and functions] | Reference for unit 'pwumain' (#powtils_main) |
Source position: pwumain.pas line 197
procedure SetVar( |
const name: String; |
const value: String |
); |
Use this function for example to set up variables that you will store in html template files.
var macro: string; begin macro:= 'blue'; SetWebVar('macro', macro); // now output a template here containing your $macro or {$macro} // WebTemplateOut() // or WebWriteF(), WebFormat(), etc. end.