Wiki source for imageNameSize


Show raw source

======**sqInt imageNameSize(void)**======

**Parms**: NONE
**return**: size of imageName in bytes
**From**: Interpreter primitiveImageName
**Why**:
Need to know size of image name path
**Responsibility**:
Return bytes needed to store the image path in as a Class String.

**MacIntosh**
//os-9/OSXCarbon//
Does strlen on getImageNameWithEncoding results.

//Cocoa://
See iPhone

**iPhone**
does strlen(getImageName())

**Unix**
does strlen of imageName

**Windows**
does strlen of imageName

**BUGS**
If the image name = MAX_PATH then the result may not be a proper C String and who knows what strlen will return?
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki