View Single Post
  #1 (permalink)  
Old 06-28-2007, 09:39 PM
Zemog Zemog is offline
Junior Member
 
Join Date: Jun 2007
Location: Mexico
Posts: 13
Question Include source code from an external file

Hi!

Is there a way to separate a project on several files and then include them in the main file? I know I could create a DLL to do something like that, but as I'm a beginner on pocket programming, then the next best thing I can think of is to separate code chunks in several files in order to keep code organized and avoid having a long listing.

let's say that in my main spb file I could have something like

include calc.src
include input.src

...and so on

so the when the main project gets executed the compiler just merges the files at their include point and then compile the whole thing.
Reply With Quote