Simple 'For' loop question!

Blitz3D Forums/Blitz3D Beginners Area/Simple 'For' loop question!

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.

Is it possible to do, 'For A = 1 to 10 If Score > 0 Then Score = Score + 1 Next' ? - Or am I missing something.

Instead of having to use 3 lines of code and do:

For 1 to 10
If Score > 0 Then Score = Score + 1
Next