i guess you have to declare the default value inside the function.
myClass::function1(MemPtr var, Boolean ok)
{
ok = false;
<your code follows...>
}... or better yet make the "ok" variable global. hope that helps.
Sherry
At 10:08 PM 6/10/03 -0600, you wrote:
HI,
I'm in the process of converting a large project from GCC C++ to CW9. I'm running into the compiler error about error with the default value eg:
myClass::function1(MemPtr var, Boolean ok = false)
the compile errors out. If I remove the default value of false it will compile. How do I fix this problem?
thanks
--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
