Re: A BUG in 4GL ??
Posted in 1992
In article <9063@emory.mathcs.emory.edu> jbaker@lexington-emh2.army.mil ("John Baker, Lex-Blue Grass Army Depot") writes: >When I compile it I get "line 514: warning: statement not reached." The >WHILE loop with the PROMPT statement works ok, but the program ends up in >an infinite loop. The CASE is skipped altogether. It seems the GOTO at How exactly do you expect it to ever get out of this: > while true > prompt " Enter selection and press Return: " > for char msel > if msel not matches "[1-4]" then > display msel, " is not a valid option. Try again." at 15,25 > sleep 4 > end if > end while ?? Seems to me that 4GL is doing what it was told to do... -- Alan Denney aland@informix.com {pyramid|uunet}!infmx!aland "I got a new dog; he's a Paranoid Retriever. He brings back everything, because he's not sure what I threw him." -- Steven Wright