> Ok, easy question:  I want to use multiple c files so that I can create
> banks of functions to use in all my applications instead of retyping them
> all the time.  If I remove a function from my "main" c file and put it in a
> new c file, including it in the project, it compiles OK, but when run on
> the emulator I get errors.  Do I need to Include global variables or do
> something to the variables being passed in or returned?
> 
> I haven't been able to find a sample project using more than one c source
> file either.

  C programming 101 :)

  check out the 'extern' keyword :)

// az
[EMAIL PROTECTED]
http://www.ardiri.com/    <--- free games!


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to