setsystemval in Quiz
David Frederick (714)639-9951 x132
David_Frederick@WYCLIFFE.ORG
Wed, 11 Feb 1998 23:20:48 +0000 (GMT)
>Nope, that's not conditional. It will define it
>always.
>
>> I think you should be able to do it in a DEFINE statement. Eg.
>>
>> DEFINE x = 1 IF SETSYSTEMVAL(symbolname,value)
>
This should work:
define d_dummy char*1 = &
"Y" if (<your condition(s)>) &
and setsystemval("<name>","<value>",logical,"lnm$job")
As long as your condition is first, then it should work fine. Based on my
tests, I found that the second "and" condition (in this case, the SETSYSTEMVAL
function) is not executed if the first condition is not met.
I hope that works for you.
Thanks,
David Frederick
Computer Systems Manager
Wycliffe Associates
Internet: David.Frederick@wycliffe.org
----
Disclaimer: Opinions expressed may not reflect those of my employer.