[net.micro.mac] A MegaMax C question...

harrow@exodus.DEC (Jeff Harrow NCSE TWO/E92 DTN=247-3134) (08/16/85)

Although I'm fluent in numerous other languages, the Mac has convinced
me to crank up with C.

I have MegaMax's C and, last night, was attempting to enter the "Arrows
from C" demo program form page 21 of the latest (Aug) MacTutor, which
was written in "Mac C".

I've been stalled right near the beginning of the program where MegaMax
complains about the following statement:

	Rect	windowRect={40,4,336,508};

It gives numerous messages complaining about too many "}"s, not enough
";"s, etc.

Can anyone explain what's going on, and perhaps any other "gotchas" I 
might expect?

Thanks,

Jeff Harrow

Work address:
ARPAnet:	HARROW%EXODUS.DEC@decwrl.ARPA
Usenet:		{allegra,Shasta,decvax}!decwrl!dec-rhea!dec-exodus!harrow
Easynet:	EXODUS::HARROW
Telephone:	(617)858-3134
USPS:		Digital Equipment Corp.
		Mail stop: TWO/E92
		1925 Andover St.
		Tewksbury, MA  01876

mike@smu (08/19/85)

Megamax likes all lower-case declarations.  "Rect" is not the same as
"rect".

Mike McNally		SMU
mike@smu
...convex!smu!mike