Text Problems

Blitz3D Forums/Blitz3D Beginners Area/Text Problems

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Code is executed from TOP to BOTTOM. Your check if the answer is right comes BEFORE the user has typed it in. SO, guess will always equal 0 when the check occurs.

Move the two lines:
Locate 660, 320
guess = Input("")

before the line:
If number1+number2=guess Then