FineLineIDE


Closed Thread
Results 1 to 40 of 188

Thread: FineLineIDE

Hybrid View

  1. #1
    Join Date
    Dec 2007
    Location
    Finland
    Posts
    191


    Did you find this post helpful? Yes | No

    Default Re: FineLineIDE

    Quote Originally Posted by Normnet View Post
    Was this on compile or a click on the explorer window include file?
    Click on the explorer view window.

    Quote Originally Posted by Normnet View Post
    Please post your
    INCLUDE "include_file_name.xxx"
    line of code.

    Norm
    Basically main program consist of several include files and this was one of them. Same thing with all the other include files, cannot open them.
    Code:
    INCLUDE "..\incl\Variables_v0_1.pbp"
    It does not help if I change full path, c:\...
    No problems to compile the program.

    EDIT:
    Then other thing that I observed. If I reopen FL (it will open latest file), but then I cannot compile opened file. I have to open same file (Ctrl+O) and then FL can compile file OK.


    -Gusse-
    Last edited by Gusse; - 26th August 2012 at 17:22.

  2. #2
    Join Date
    Dec 2007
    Location
    Finland
    Posts
    191


    Did you find this post helpful? Yes | No

    Default Re: FineLineIDE

    Error window says: "Invalid Include File Path:[link to 1st include file]. Aborting Compile"

    PS. 20min timeout for editing sucks!!

  3. #3
    Join Date
    Oct 2004
    Posts
    440


    Did you find this post helpful? Yes | No

    Default Re: FineLineIDE

    Quote Originally Posted by Gusse View Post
    Code:
    INCLUDE "..\incl\Variables_v0_1.pbp"
    -Gusse-
    I haven’t see the use of "..\" in an include before.
    The next version of FL will add that.

    Code:
    INCLUDE "N-Bit_Math.pbp.txt" 'works OK
    INCLUDE "E:\1PBP3\Nbit Math\N-Bit_Math.pbp.txt" 'works OK
    INCLUDE "..\Nbit Math\N-Bit_Math.pbp.txt" 'not OK in this version of FL
    Could you provide more examples of the exact include line to see if their are more unanticipated items?


    Norm

  4. #4
    Join Date
    Dec 2007
    Location
    Finland
    Posts
    191


    Did you find this post helpful? Yes | No

    Default Re: FineLineIDE

    No matter what I enter after INCLUDE, it does not open files ?!?
    Even if I place file in root (c:\) and try to open from there, no success. Also shortening name below 8 char didn't help.

    I downloaded v2 zip and extracted to C:\PIC\FineLine folder. I have not used earlier version of FL with this computer, so am I missing some plug-in or something or should zip include everything?

  5. #5
    Join Date
    Oct 2004
    Posts
    440


    Did you find this post helpful? Yes | No

    Default Re: FineLineIDE

    Quote Originally Posted by Gusse View Post
    No matter what I enter after INCLUDE, it does not open files ?!?
    Even if I place file in root (c:\) and try to open from there, no success. Also shortening name below 8 char didn't help.

    I downloaded v2 zip and extracted to C:\PIC\FineLine folder. I have not used earlier version of FL with this computer, so am I missing some plug-in or something or should zip include everything?
    INCLUDE "N-Bit_Math.pbp.txt"
    FL first looks for the include file as written above in the directory in which your .pbp program is saved.
    Secondly it looks in the PicBasicPro compiler directory as set up in options.
    Third it does additonal searching but try the above first.

    The download includes everything.


    Norm
    Last edited by Normnet; - 27th August 2012 at 07:50.

  6. #6
    Join Date
    Dec 2007
    Location
    Finland
    Posts
    191


    Did you find this post helpful? Yes | No

    Default Re: FineLineIDE

    Works if include file is in the same folder as the main pbp (as you said),
    Code:
    INCLUDE "Variables_v0_1.pbp"
    but if file is in different folder then it fails to open it (path in front of actual file is not working).

    Could this be fixed?

    I prefer kind of "modular coding", which means that I use a lots of includes in main pbp. All the code is in include files, which are located in different folder, etc ../include/ -folder to keep thing more clear and readable. This is working very well with MicroCode Studio.

    -Gusse-

  7. #7
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default Re: FineLineIDE

    The INCLUDE command is part of PBP, the text editor used to write the code does not have anything to do with it.
    Dave
    Always wear safety glasses while programming.

  8. #8
    Join Date
    Oct 2004
    Posts
    440


    Did you find this post helpful? Yes | No

    Default Re: FineLineIDE

    Quote Originally Posted by mackrackit View Post
    The INCLUDE command is part of PBP, the text editor used to write the code does not have anything to do with it.
    Correct; for compiling PBP finds the include files.

    Gusse may be opening the include files with a click in the explorer window.
    The next version of FL will also do an explorer open if the full path is provided in the include.

    I'm not sure how to code for a partial path as it could be anywhere on the hard drive and doing a search could take several minutes in some cases unless their is a way to limit it.


    Norm

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