[comp.sys.mac.programmer] Minor Inside Mac Discrepancy

alexis@ccnysci.UUCP (Alexis Rosen) (01/08/89)

In Inside Mac V-230 it says that the type MenuInfo.itemData.itemStlye is
of type 'Style'. But IM I-152 'Style' is defined as Set Of StyleItem, which
is represented by a word. The 'Stlye' in the MenuInfo record is actually one
byte long, and while I haven't checked, it seems a pretty good guess that
this byte is the low byte of what the real 'Style' word would be.

Since most of the MenuInfo data type isn't declared in the interfaces
(you can't write it in Pascal) this doesn't actually cause problems in
your code, but it might cause some confusion if you're trying to play
with menu data structures (which is not a good idea in general, but
sometimes...)

Alexis Rosen
alexis@ccnysci.uucp