Compiling a program

Post your coding questions such as 'how to' here.
Post Reply
Mr. O
Newcomer
Posts: 32
Joined: Thu Nov 15, 2007 4:10 am
Location: United States

Compiling a program

Post by Mr. O »

I am having trouble with my compiler. I write my programs in chunks and when I use the "include" keyword I get an error saying that the subs in the included file are not found. Is this a problem that can be avoided or is this just the problem with the way the compiler is written.

Thanks in advance!
Mr. O
koodaaja
Moderator
Moderator
Posts: 1583
Joined: Mon Aug 27, 2007 11:24 pm
Location: Otaniemi - Mikkeli -pendelöinti

Re: Compiling a program

Post by koodaaja »

Try to put the include command for subs at the end of your code. Someone had similar problems while having subs before declarations of types etc.
Mr. O
Newcomer
Posts: 32
Joined: Thu Nov 15, 2007 4:10 am
Location: United States

Re: Compiling a program

Post by Mr. O »

Thanks for the tip I will put into use Immediatly

Mr. O
Post Reply