If recently downloaded DBPro and from the first second i found huge differences between real Basic and this one.
So the main problem for now is:
While innenu=true
CLS
if 0 > mousex() < 256 then sprite 9998,0,506,9998
if 256 > mousex() < 512 then sprite 9998,256,506,9998
if 512 > mousex() < 768 then sprite 9998,512,506,9998
if 768 > mousex() < 1024 then sprite 9998,768,506,9998
Render()
EndWhile
This doesnt work (Sprite Does not move...)
I also Tried:
While innenu=true
CLS
if 0 > mousex() < 256 then
sprite 9998,0,506,9998
else
if 256 > mousex() < 512 then
sprite 9998,256,506,9998
else
if 512 > mousex() < 768 then
sprite 9998,512,506,9998
else
if 768 > mousex() < 1024 then
sprite 9998,768,506,9998
endif
endif
endif
endif
Render()
EndWhile
but it says 'Command Out Of Place'...
I cant understand this syntax... ITS NOT BASIC/VISUAL BASIC syntax.
its a hybrid. and i cant find anything correct with If/ELSE structure repeat. I googled and looked through the forums. nothing found...
The only thing that worked is :
While innenu=true
CLS
sprite 9998,mousex(),506,9998
Render()
EndWhile
but as you can understand sprite wont move correctly only in this way..
So th main Question is wtf wrong with that If/Else struct...?
Life would be so simple, if we only had a source code...