[comp.sys.mac.programmer] Beginner needs help with C.

3XMQGAA@CMUVM.BITNET (Sari Khoury) (08/07/90)

Hi, I was typing in a program from Mac Programming primer: Reminder, and
got this problem when I tried to compile it in THink C 4.0:

"gDefaultsSecsH has not been declared"
As far as I know, it has been declared.
Here is the part where it happened. Thanks...

/** DialogInit **/

DialogInit()
{
int     itemType;
Rect        itemRect;
Handle      itemHandle;

gDefaultSecsH = GetString( DEFAULT_SECS_ID );
gDefaultMinsH = GetString( DEFAULT_MINS_ID );