I have been using the BASICtools software for some time.
I recently reinstalled BASICtools and now I can only compile successfully if I enter a program from the keyboard.
When I load a text file from Notepad I get "Unreachable statement" errors for such things as:
OUTPUT(34)
INPUT(56)
A= 1 TO 10
PRINT "THE CLOCK IS RUNNING"
(and others)
These all compile perfectly when entered from my computer keyboard.
Any suggestions?
Dave Senften
ARMbasic Compiler Problem
Re: ARMbasic Compiler Problem
The compiler now expects a MAIN: to be part of your program, and in any large program would be there anyway
So when you load a file in for compiling it must have a MAIN; and if your code starts at the first statement the MAIN: needs to be there.
I will add a page to describe unreachable statement errors in the help files. Thanks for pointing that out
So when you load a file in for compiling it must have a MAIN; and if your code starts at the first statement the MAIN: needs to be there.
I will add a page to describe unreachable statement errors in the help files. Thanks for pointing that out