Barry Jaques

Function not appearing

Discussion created by Barry Jaques on Sep 9, 2006
Latest reply on Sep 11, 2006 by CompilerGuru
Hello,
I am halfway through an app using Code Warrior for Palm and cannot get a new function to appear.
 
I only have nine functions in the particular segment.
 
The function is:
static Boolean StrToDouble(Char* dist, double newdist);

I did have the function appearing at first but could not proceed due to a link error so I inserted the 'static'  and it worked. I was trying to alter the return value when all reference to the function disappeared and now the program will not compile while the function is there. If I comment it out it will compile. I am at a loss as to why a function cannot be active. I have defined it under processes.

The color of the function indicates it is inactive and it does not appear in the drop down list. Also I get a stupid error claiming every line of the program is a syntax error.

Regards, Bazza

 


 

Outcomes