so by putting the goto label within the " myfile.bas ", and also putting that label at the end of the file , the compiler compiles the included file but jumps all code within the file when it generates the hex code
so by putting the goto label within the " myfile.bas ", and also putting that label at the end of the file , the compiler compiles the included file but jumps all code within the file when it generates the hex code
Yes.
Think of it like this, Where ever the INCLUDE statement is in the main code is where what ever is in the include file will be put. So to see what will happen at compile time, paste the code from the include into the main code at the include statement. That is what the compiler sees/does.
Dave
Always wear safety glasses while programming.
Here is one example of using module library, Using Nokia 3310 LCD.
ScaleRobotics has documented this very clearly, so you should be able to get idea how the library is used.
BR,
-Gusse-
Bookmarks