[08 Jan 2010] Changing page in Designer in code.
Posted: Sat Jun 13, 2020 5:32 pm
Note: This is an archived post that was originally sent to the Hollywood mailing list on Fri, 08 Jan 2010 21:06:26 -0000
IS this bug or is it suppsoed to work this way.
I tried to change a page in code on designer:
however, doing this gives me "Function wihtout EndFunction" error message.
If i put
it works fine, so its not about coding error.
In the end i was able to trace the problem. That if i was trying to jump to next page inside any loop or function, then it gave that "Function without EndFunction" error message.
So in practice i solved it by getting that pag echange out of any loops by
but is it supposed to be this way? Or should change page work where ever put at code?
And what is there some other command i could use that would work inside a loop and would jump to either chosen or next page? (even next page would fix my problem)
IS this bug or is it suppsoed to work this way.
I tried to change a page in code on designer:
Code: Select all
if Status=0 then %>8
If i put
Code: Select all
If Status=0 then a=1
In the end i was able to trace the problem. That if i was trying to jump to next page inside any loop or function, then it gave that "Function without EndFunction" error message.
So in practice i solved it by getting that pag echange out of any loops by
Code: Select all
repeat
program , including status=x and stopprogram=true
until (stopprogram=True)
if Status=0 then %>8
if Status=1 then %>5
And what is there some other command i could use that would work inside a loop and would jump to either chosen or next page? (even next page would fix my problem)