I tried to use $ifThen ($ifThenR) and ord functions to differentiate the scenarios containing 's'.
So I would expect the set fest to only have one element, b. When I run the following code, fest always has two elements a, b.
Please help me figure out what went wrong.
Code: Select all
$set Scenarios static
$ifThen (ord('%Scenarios%',1)==ord('s',1))
$set ff '*'
$else
$set ff ''
$endif
;
set fest /
%ff% a
b
/;
display fest;
[code]
Best/JG