Another 2.60 worry


Closed Thread
Results 1 to 19 of 19

Hybrid View

  1. #1
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default Re: Another 2.60 worry

    Just specify the path in your include line then. I do it all the time.

    I have a root folder named PBP_PROG and some subfolders. One subfolder by application and a couple of other for various include type (DevBoards headers, LCD/GLCD drivers/wrapper, etc etc etc)
    C:\PBP_Prog
    C:\PBP_Prog\DemoXyz
    C:\PBP_Prog\Nokia3310

    Assuming I'm working on a prgram located in DemoXyz folder, If I want to use the Nokia3310 related include I just need to use the following line
    INCLUDE "..\Nokia3310\GLCD_NOKIA.PBP"

    the file extension do not make any difference, it could be .inc, pbp, bas, bak.. whatever.

    For Win7/Vista, you may have a error message if the path+filename exceed 32 characters (or so)

    All config fuses are in my code, never elsewhere/ I comment out the one in the PBP folder all the tie. Fortunately now with PBP3 we no longer need to do so. This reminds me I need to upgrade today... where<s my proof of purchase now... arg... I know I have it somewhere. Back in 1999/2000
    Last edited by mister_e; - 8th August 2011 at 20:29.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  2. #2
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default Re: Another 2.60 worry

    Quote Originally Posted by mister_e View Post

    the file extension do not make any difference, it could be .inc, pbp, bas, bak.. whatever.
    :
    As I continue to learn . . .
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  3. #3
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default Re: Another 2.60 worry

    figure an include to be nothing more than a text substitution... on a single line.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts