...

View Full Version : Pascal While loop



nodeffect
09-24-2007, 09:45 AM
while stack[i]<> 'a ' do
begin
read(stack[i]);
....
....

end.

Above is part of my code. I wonder how can I exit the while loop by hitting the enter key instead of typing a ? is there any other method?

Please help, thanks



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum