Wiki source for attributeSize

Show raw source

======**sqInt attributeSize(sqInt indexNumber) **======

**Parms**: indexNumber, negative, positive, or zero.
**return**: size of string from getAttribute(indexNumber).
**From**: Interpreter
To figure out how much space to reserve to later place the attribute in.
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


See iPhone



Fails primitive call if returned value is null

Windows version returns primitiveFail(), but primitiveFail() has no explicit return value, could be zero, or garbage depending on compiler...

Valid XHTML :: Valid CSS: :: Powered by WikkaWiki