Hi Stuart,

CT VOC ONE.OFF
0001 PA
0002 IF <<S2,Check>> = 'BLAH' THEN GO THE.END:
0003 DISPLAY NOT BLAH
0004 THE.END:
0005 DISPLAY THE END

It's producing the following results:

>ONE.OFF
Check=BLAH
Illegal IF statement.
NOT BLAH
THE END

>ONE.OFF
Check=jgfjhf
Illegal IF statement.
NOT BLAH
THE END

How odd. Your S2 control token appears to be being ignored as it is prompting which I would only expect with I2 or no token at all.

Just as an experiment, not that it should affect the prompt, put quotes around the inline prompt. They really shouldn't be necessary but something isn't right.


Martin Phillips
Ladybridge Systems Ltd
17b Coldstream Lane, Hardingstone, Northampton, NN4 6DB
+44-(0)1604-709200
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to