Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
troubles linking
#1
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?
url=http://www.random-seed.net][Image: asylumsig.png][/url]
Reply
#2
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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)