Henrik, apparently Pic Basic Pro 3 does not do that you need to specify the folder.
Mike
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
Just an idea, you don't happen to have multiple installations of PBP do you. If you've upgraded to PBP3 then perhaps the compiler that's actually executing resides in the PBP3 folder while you place the include file in the "old" PBP folder.
Other than that, could it be a a "virtual folder" issue of some sort.
found this from dt
fromPBP can only find include files in either the "Working Folder" or PBP's application folder.
MPASM can only find include files in either the "Working Folder" or MPASM's application folder.
http://support.melabs.com/forum/disc...-pbp-rev-2-50c
post #4
Warning I'm not a teacher
Bookmarks