Report Bugs Here

Moderator: Mmiscool

User avatar
By kbaykar
#47118 I am trying to build a menu program from within to branch to other programs.
Code looks like the following:

Code: Select allmemclear
cls
...
button "load bla" [bla]
...
wait

[bla]
load "\bla.bas"
wait

Although tried all possible combinations for load command, no success! It does not load the other program, stays inside the same program. I am using version 2.0 Alpha 20.
Same bug has been reported in the past, also I passed through those posts and replies, but no result.
User avatar
By kbaykar
#47130 Sometime ago I asked about the limitations of ESP-Basic. Then the reply was saying that ESP-Basic is limited to 250 lines of code. I am going to write a bit big, longer program. Expect that spliting program into few parts will overcome this 250 lines of code limitation.

That is why I wanted to use the "load" command.