I found that you need to point the Include to the location like,
INCLUDE "C:\PBP\DT_INTS-18.bas"
Mike
I found that you need to point the Include to the location like,
INCLUDE "C:\PBP\DT_INTS-18.bas"
Mike
If the file is in the PBP folder there's no need to specify the path. If no path is specified the compiler looks for the file in the source file folder, and then in the PBP folder.
/Henrik.
Henrik, apparently Pic Basic Pro 3 does not do that you need to specify the folder.
Mike
Mine works exactly as I describe, just tested it again....
Place the file to be included either in source folder or in the root of the PBP3 folder and then doing INCLUDE "ThisOrThat.pbp" works just fine.
If the file exists in BOTH locations it uses the one in the source file folder so that's where it looks first - as expected.
/Henrik.
dittoPlace the file to be included either in source folder or in the root of the PBP3 folder and then doing INCLUDE "ThisOrThat.pbp" works just fine.
If the file exists in BOTH locations it uses the one in the source file folder so that's where it looks first - as expected.
same for pbpmod files for user_commands
Warning I'm not a teacher
I don't know why mine needs the path specified but it does. The DT_INTS-18 is in the PBP folder but I need to tell it INCLUDE "C:\PBP\DT_INTS-18.bas" for the file to be found.
Mike
Bookmarks