techElder
Well-known member
Are there examples of what would be in an include file that would require the kind of programming cautioned about in Manual 2, page 10? I don't recall reading info on how "the pre-processor output file" affects the compilation process.
I understand that the PICAXE include file is a simple substitution list.
I understand that the PICAXE include file is a simple substitution list.
PICAXE Manual 2, page 10:
As the compiler processes ’top-to-bottom’ on the pre-processor output file it is necessary to take care to ‘skip’ the #INCLUDE file (if necessary) when it is included at the top of a program.
Code:Reset_here: Goto Init ; jump over include file #INCLUDE “sphero.basinc” Init: ; start program here