While wend
BlitzMax Forums/BlitzMax Beginners Area/While wend
| ||
I am a new Blitzmax user and have run into a lot of trouble with while wend loops. Does any1 know the main reason why it would say "'Wend' without matching 'While'" even though there is a while almost directly above? |
| ||
Could you post the code? |
| ||
My guess: there is one of the following: a wrong nested if-then-endif, Repeat-until,for-next in between your while and your wend. |
| ||
While (true) If (x < 3) Then x = 10 Wend |
| ||
. Last edited 2011 |
| ||
its all good now... forgot to endif inside while wend |