Include source file
Include source file
Elo. I've been looking through the documentation for FB and can't seem to find a way to 'include' another source file, like in PHP. The function I'm looking for inserts the entire contents of another .bas file at the location in the current code where it's called. Is there such a function in FB?
I think it's just something like:
Saw some examples in these posts:
http://www.freebasic.net/forum/viewtopic.php?p=76546
http://www.freebasic.net/forum/viewtopi ... lude#77997
http://www.freebasic.net/forum/viewtopi ... lude#77632
http://www.freebasic.net/forum/viewtopi ... lude#77225
Code: Select all
#Include "myfile.bas"
http://www.freebasic.net/forum/viewtopic.php?p=76546
http://www.freebasic.net/forum/viewtopi ... lude#77997
http://www.freebasic.net/forum/viewtopi ... lude#77632
http://www.freebasic.net/forum/viewtopi ... lude#77225