Does #include works properly in IUP FB Editor?

New to FreeBASIC? Post your questions here.
Post Reply
Luis Babboni
Posts: 375
Joined: Mar 15, 2015 12:41

Does #include works properly in IUP FB Editor?

Post by Luis Babboni »

Thats.

I cant make #include "filename.bas" compile filename.bas code placed in the same directory as the source file.
Luis Babboni
Posts: 375
Joined: Mar 15, 2015 12:41

Re: Does #include works properly in IUP FB Editor?

Post by Luis Babboni »

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?
SARG
Posts: 1768
Joined: May 27, 2005 7:15
Location: FRANCE

Re: Does #include works properly in IUP FB Editor?

Post by SARG »

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 ;-)
Luis Babboni
Posts: 375
Joined: Mar 15, 2015 12:41

Re: Does #include works properly in IUP FB Editor?

Post by Luis Babboni »

Thanks SARG! :-)

Happy new year! :-)

I´ll try again so to see if I could make it work :oops:
Post Reply