Re: functions in goc

GWRepNate@aol.com
Thu, 24 Oct 1996 11:19:13 -0400

Hi Ed

Here's what I do with multi-source file geodes:

global.goh:
- Contains the function prototypes like so:
void MyFunction( word size, char * string );

somefile.goc:
- Define the function:
void MyFunction( word size, char * string ) {
...
}

Other than that I don't do anything special. Something you can try, but might
be a long shot, is to make a .goh file that includes the .h file. Include
this .goh file in your .goc file in place of the .h file. Confusing, but just
might cause GOC to include the prototypes for BCC to see when it compiles the
.n/ec file.

Can you give snippets of code?

Nathan