02-19-2014, 09:33 AM
Code:
for i=1 to len(q$)-1
if q$(1 to i)=" " and x$="" then let x$=q$( 1 to i-1)
next i
input.bas:38: warning: Empty loop
works if I remove the if line but still give empty loop warning
OK need to add end if but nothing appears in the x$
I'm always on the chat or facebook.