[comp.sys.mac.programmer] BYTE data type in MPW Pascal ?

pascal@altitude.CAM.ORG (Pascal Gosselin) (07/24/90)

One more question for the net, but this one seems like an oldie....

I am using OLD pieces of code in my current MPW project that has
data structures of the form:

DATEREC = RECORD
     Day:Byte;
     Month:Byte;
     Year:Integer;


Now, MPW 3.0 does NOT recognize the BYTE data type.  Should I simply
declare BYTE=CHAR to correct the situation????

Has MPW ever had a BYTE data type???

Also, the code seems to use the form DLR=Packed Array [1..8] of Byte; to
store the COMP data type ....  Why would this be done?????  I have
replaced this line with DLR=COMP ....  Can I expect problems???

Did old versions of MPW require such work-arounds or what?


-- 
+--------------------------------------------------------------------+
| Pascal Gosselin          |    Internet: pascal@altitude.CAM.ORG    |
| Gest-Mac Inc. Apple VAR  |    (514) 939-1127     CIS: 72757,1570   |
+--------------------------------------------------------------------+