The code will perform the Enter Problem codes sub if anything except Y or 1 are entered.
So why test for N and 2 at all?
Just to let the terminal beep which doesn't work on a terminal emulator anyway?
I would have just used IF THEN ELSE.

On 15/03/2012 19:18, Susan Joslyn wrote:
For multilingual.  I go with 0/1 for no/yes, myself.  But then you can use a
code table - in any language - where the returned value is 1 or 2 and test
for that in the programs.  Also lets the code table or whatever other
validation utility you use deal with the upper and lower case issue.  Final
result is 0/1 and all programs can use that and don't have to be changed
when the language does.

I still wouldn't use that construct, but that could explain why the numeric.

SJ

_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to