Thats.
I cant make #include "filename.bas" compile filename.bas code placed in the same directory as the source file.
Does #include works properly in IUP FB Editor?
-
- Posts: 375
- Joined: Mar 15, 2015 12:41
-
- Posts: 375
- Joined: Mar 15, 2015 12:41
Re: Does #include works properly in IUP FB Editor?
Mmm, IUP FB Edit options have something like "INCLUDE path", FB Edit do not have it.
FB Help says:
For relative paths, or where no path is given at all, the include file is search for in the following order:
-Relative from the directory of the source file
-Relative from the current working directory
-Relative from addition directories specified with the -i command line option
-The include folder of the FreeBASIC installation (FreeBASIC\inc, where FreeBASIC is the folder where the fbc executable is located)
InIUP FB Editor is not like this?
FB Help says:
For relative paths, or where no path is given at all, the include file is search for in the following order:
-Relative from the directory of the source file
-Relative from the current working directory
-Relative from addition directories specified with the -i command line option
-The include folder of the FreeBASIC installation (FreeBASIC\inc, where FreeBASIC is the folder where the fbc executable is located)
InIUP FB Editor is not like this?
Re: Does #include works properly in IUP FB Editor?
Nothing related to the editor.
It should work (tested again just now with success).
Check that file name is correct/same in both codes.
Eventually provide the error message you get.
And happy new year to all who read
It should work (tested again just now with success).
Check that file name is correct/same in both codes.
Eventually provide the error message you get.
And happy new year to all who read
-
- Posts: 375
- Joined: Mar 15, 2015 12:41
Re: Does #include works properly in IUP FB Editor?
Thanks SARG!
Happy new year!
I´ll try again so to see if I could make it work
Happy new year!
I´ll try again so to see if I could make it work