Report Bugs Here

Moderator: Mmiscool

User avatar
By raintime
#52197 Two simple programs:

Program 1 (called "TestLoad.bas"):

print "TestLoad!"
load "/OneLine.bas"
end


Program 2 (called "OneLine.bas"):

print "HI!"
end

When I run TestLoad.bas the CHROME screen is cleared and stays cleared.

TERMITE SHOWS:
Loading . . . . OneLine.bas
TestLoad!
Loading . . . . OneLine.bas
TestLoad!
Loading . . . . OneLine.bas
TestLoad!
Loading . . . . OneLine.bas
TestLoad!
Loading . . . . OneLine.bas
TestLoad!
Loading . . . . OneLine.bas
TestLoad!
Loading . . . . OneLine.bas
TestLoad!
... which goes on until I press the RESET button on my nodemcu.

NOTE: Tried 3 variations of line 2 in TestLoad.bas
(1) load "\OneLine.bas" [as shown in the documentation example under LOAD]
(2) load "/OneLine.bas" [tried with a forward slash]
(3) load "OneLine.bas" [tried with no slash]


/TestLoad.bas/21
end of save!!
TestLoad!
Loading . . . . \OneLine.bas
TestLoad!
Loading . . . . \OneLine.bas
TestLoad!
Loading . . . . \OneLine.bas
TestLoad!
Loading . . . . \OneLine.bas
TestLoad!
Loading . . . . \OneLine.bas
TestLoad!
Loading . . . .