[comp.sys.mac.programmer] Rez input definition

jamesth@microsoft.UUCP (James THIELE) (02/07/91)

In the ".r" files distributed with MPW 3.1 I find two constructs not
defined in the MPW 3.0 Development Environment Vol. 1 document
(Chapter 11 and Appendix D describe Rez and DeRez):

-- $$CountOf() function
   (Apparently returns number of elements in an array)

-- type 'dctb' as 'actb'
   (apparently an aliasing mechanism)

Are these described somewhere I've missed?  Are they described in the
MPW 3.1 documents?  Are there any other constructs that are new after
MPW 3.0 or not described in the 3.0 docs?

Thanks,
James Thiele
microsoft!jamesth

drc@claris.com (Dennis Cohen) (02/13/91)

jamesth@microsoft.UUCP (James THIELE) writes:

>In the ".r" files distributed with MPW 3.1 I find two constructs not
>defined in the MPW 3.0 Development Environment Vol. 1 document
>(Chapter 11 and Appendix D describe Rez and DeRez):

>-- $$CountOf() function
>   (Apparently returns number of elements in an array)

>-- type 'dctb' as 'actb'
>   (apparently an aliasing mechanism)

>Are these described somewhere I've missed?  Are they described in the
>MPW 3.1 documents?  Are there any other constructs that are new after
>MPW 3.0 or not described in the 3.0 docs?

They are discussed somewhere James missed.  $$CountOf is described in the
"Array type" discussion in the chapter on Rez and DeRez (it was page 316
in the 3.0 draft documentation.  I don't have a copy handy of the 3.0 final
docs).  "AS" is discussed under the topic "AS resource description syntax"
at the bottom of page 309 (Ch. 11) of the MPW 3.0 draft docs.

I'm not aware of any that aren't discussed, although as we all know, they are
a number that could stand more or better discussion. ;-}


-- 
| Dennis Cohen     drc@claris.com   COHEN2   AFC DCohen    71076,1377
|                  Internet       AppleLink  AmerOnline    CompuServe
| Disclaimer:  Any unattributed opinions expressed above are _MINE_!