[Overview][Constants][Procedures and functions] | Reference for unit 'pwumain' (#powtils_main) |
Source position: pwumain.pas line 200
function IsVar( |
const name: String |
):Byte; |
Pretend you have previously called SetVar (SetWebVar). The IsVar function can detect that your var was previously set.
// if you visit http://url.com/cgi-bin/prog?p=page1 begin if IsVar('p') then outln('we found the p var'); SetWebVar('macro', 'hello'); if IsVar('macro') then outln('we found the macro var'); end.