Mikey:

When I check for command line parameters, I usually double qualify my if expression like this ...

IF $Prompt and $Prompt = "Yes"
? $Prompt" = Yes" ?
ELSE
? $Prompt" <> Yes" ?
ENDIF

I think this version might perform more as expected.

As well, there is some "funkyness" to the way KiX processes command line arguments, so beware ...

See these threads, especially the observation that specifying just "$parm" on the command line, then using this variable in a string expression, cause KiX32 to enter an infinite loop !

Break On !

http://kixtart.org/board/Forum1/HTML/000924.html

http://kixtart.org/board/Forum1/HTML/000929.html


Shawn.

[This message has been edited by Shawn (edited 01 September 2000).]