Yes, thank you! Changing the name in the main program from .bas to .pbp fixed it.
Yes, thank you! Changing the name in the main program from .bas to .pbp fixed it.
Well, I am wrong, again! The INCLUDE file compiles, but the main program doesn't display the number "1" in the first position when i use the INCLUDE file. When I move the contents of the INCLUDE file to the main program, it works. I have tried this with other combinations of files and file names, but it just won't work! Any ideas?
Total guess.
Violation of INCLUDE rule #1.
Execution of the program must not be allowed to "Fall into" a Subroutine.
Place a GOTO before, to a place AFTER any subroutines in the Include file.
<br>
DT
I guess this isn't going to work then, because there are 300 subroutines in the INCLUDE file.
Oops, I guess it could have sounded that way. Didn't mean to GOTO around every subroutine individually.
Just one GOTO at the TOP of the Include file, that jumps over all the subroutines in that file.
Every Include file should jump over it's own subroutines.
DT
Bookmarks