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

    Hi Norm,

    I tested your latest version, but for some reason include files refuse to open. No matter if I use relative or full path to file locations.
    Name:  Fineline_error.jpg
Views: 6311
Size:  7.1 KB
    Any idea what might be wrong?

    In MicroCode Studio environment, include files are working OK.

    BR,
    -Gusse-

  2. #2
    Join Date
    Oct 2004
    Posts
    440


    Did you find this post helpful? Yes | No

    Default Re: FineLineIDE

    Quote Originally Posted by Gusse View Post
    Hi Norm,

    I tested your latest version, but for some reason include files refuse to open. No matter if I use relative or full path to file locations.
    Attachment 6647
    Any idea what might be wrong?

    In MicroCode Studio environment, include files are working OK.

    BR,
    -Gusse-
    Was this on compile or a click on the explorer window include file?

    Please post your
    INCLUDE "include_file_name.xxx"
    line of code.

    Norm

  3. #3
    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.

  4. #4
    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!!

  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
    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

  6. #6
    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?

  7. #7
    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.

  8. #8
    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-

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