Qbasicnews.com

Full Version: troubles linking
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
um.. i want to link a .bas file and .bi file w/ my main src file, what would the bit look like between <fbc> <filename>

like, how do i link them so when it compiles it all works together?
Include the .bi file in you source files with '$Include: "file.bi". To compile multiple files together run fbc with each of the .bas files to be included:

fbc main.bas, 1.bas, 2.bas,...

use option -m to set the main basic file.

fbc 1.bas, 2.bas, 3.bas -m 3 '3.bas is entry point