Revision [154]
This is an old revision of attributeSize made by JohnMcIntosh on 2008-10-15 04:41:29.
sqInt attributeSize(sqInt indexNumber)
Parms: indexNumber, negative, positive, or zero.
return: size of string from getAttribute(indexNumber).
From: Interpreter
Why:
To figure out how much space to reserve to later place the attribute in.
Responsibility:
To call getAttribute: and then calculate the string size
To get an attribute we call getAttribute twice, once to get the size, once to get the number, a bit ugly
MacIntosh
os-9/OSXCarbon
Cocoa:
TBD
iPhone
Unix
Windows
BUGS