Include source code from an external file

Discussion in 'Questions (Windows Mobile)' started by Zemog, Jun 28, 2007.

  1. Zemog

    Zemog Member

    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.
     
  2. Zemog

    Zemog Member

    :sign0161: Never mind, I found the answer on the help file :sign0013:
     
  3. giannimaione

    giannimaione Well-Known Member Licensed User

Loading...