problems with procedures in while loop
- Posted by Jacen <pip at mail.sylvancomputers.com> Nov 28, 2004
- 507 views
For some reason, in only one of my games, it won't execute the procedure in my while loop below. When I trace it, it does get the input, and take the last character off, but won't execute the exec_cmd procedure. Any suggestions?
while 1 do input = gets(0) if sequence(input) then input = input[1..length(input)-1] exec_cmd(input) end if end while