It isn't unusual for a multi-lingual system where the Y/N flags would be stored as boolean values and the text corresponding to the letters Y/N would be stored in a file somewhere. Many languages have 'N' for no but have a different letter for Yes. (Si, Oui, Ja for example).
________________________________ From: Wjhonson <wjhon...@aol.com> To: u2-users@listserver.u2ug.org Sent: Thursday, March 15, 2012 1:23 PM Subject: Re: [U2] Unusual code I don't know why someone would have thought that Y equals 1 and N equals 2 that's just odd to me. The code is confusing enough to make me just want to say, if they entered a Y exit, if they entered a N continue or whatever. That's job security right there! -----Original Message----- From: Symeon Breen <syme...@gmail.com> To: 'U2 Users List' <u2-users@listserver.u2ug.org> Sent: Thu, Mar 15, 2012 2:42 am Subject: Re: [U2] Unusual code So you can answer y or n or 1 or 2 to this pompt, and if it is n or 2 you are aken to ENTER.PROBLEM.CODES ----Original Message----- rom: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] n Behalf Of Wjhonson ent: 15 March 2012 00:21 o: u2-users@listserver.u2ug.org ubject: [U2] Unusual code n my 25 years in Pick I have never seen a construction like this to test for Y r N or whatever it's doing. hat is this doing? What is this 1]2 and <1,1> doing ? Why do I need this? 297: CHECK: PRINT @(0,17): "Are the problem codes correct (Y/N)? " : 298: INPUT ANSWER 299: LOCATE ANSWER IN '�Y�N�1�2'<1,1> SETTING TEST ELSE PRINT BELL 300: LOCATE ANSWER IN '�Y�1'<1,1> SETTING TEST ELSE 301: PRINT @(0,13):CLEAR.REST.SCREEN ; GOTO ENTER.PROBLEM.CODES _______________________________________________ 2-Users mailing list 2-us...@listserver.u2ug.org ttp://listserver.u2ug.org/mailman/listinfo/u2-users ----- o virus found in this message. hecked by AVG - www.avg.com ersion: 10.0.1424 / Virus Database: 2113/4870 - Release Date: 03/14/12 _______________________________________________ 2-Users mailing list 2-us...@listserver.u2ug.org ttp://listserver.u2ug.org/mailman/listinfo/u2-users _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users