True/False statements with OBJECT variables
- Posted by ST Qu Man <STQuMan at AOL.COM> Apr 24, 1998
- 653 views
If I do something like object a,b a="abcdefghijklmnopqrstuvwxyz" b=gets(0) If b=a then* puts(1,"YAY! CORRECT!") else puts(1,"BAD!") end if *I get a message at this part of the program and it says (If b != a): sequences arent equal in length (6 (6 chars) != 26 (26 chars)) The same thing happens when I do something like: object a,b a="" while a="" do --when 'a' changes. a=gets(0) b=gets(0) end while How do I fix that???? PLEASE HELP ME. Trivia Program Makers Are Very Ineffective If You Can't Compare String Variables. Thanks, St Qu Man