I'm new to kixtart and I'm having trouble with the IF command.
I'd like to verify if variable1 is different from a specific string or variable2 is empty or variable3 is empty.
This seems easy but doesn't work the way I do it:
-- start --
break on
if $call <> "yes" or $s=0 or $d=0
? "syntaxe : ..."
exit 0
endif
? "Either the $$call variable is set to yes or the required parameters"
? "($$s and $$d) are set"
-- end --

The sctipt is supposed to be lauched either by setting the variable $call=yes (or $call="yes") or by setting the variables $s and $d to anything but NULL

Why doesn't it work?


Incindentally, I'd gladly accept any difficult sample script.

------------------