Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!philmtl!altitude!pascal From: pascal@altitude.CAM.ORG (Pascal Gosselin) Newsgroups: comp.sys.mac.programmer Subject: BYTE data type in MPW Pascal ? Summary: CHAR=BYTE in MPW ? Keywords: OLD STUFF Message-ID: <1990Jul23.223330.24555@altitude.CAM.ORG> Date: 23 Jul 90 22:33:30 GMT Distribution: comp Organization: None Lines: 28 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 | +--------------------------------------------------------------------+