Wiki source for imageNamePutLength
======**sqInt imageNamePutLength(sqInt sqImageNameIndex, sqInt length)**======
**Parms**:
sqImageNameIndex pointer to storage for name
length is length of string in bytes
**return**: NONE, fake return of zero
**From**: Interpreter primitiveImageName
**Why**:
set new image name
**Responsibility**:
**MacIntosh**
//os-9/OSXCarbon//
Sets the imageName, the imagename CFString, the shortImageName and the window title.
//Cocoa://
See iPhone, but we also update the main window's title.
**iPhone**
Ensure imageNameURL and imageName get new value use image encoding. There is no window title to update
UTF8 of course
**Unix**
Set imageName and ask display logic to set window title
**Windows**
Check to see if name is fully qualified, if not fix that, then set window title and imageName.
**BUGS**
Platforms disagree about if the image name has platform/image encoding
Also if the name is fully qualified or not
**Parms**:
sqImageNameIndex pointer to storage for name
length is length of string in bytes
**return**: NONE, fake return of zero
**From**: Interpreter primitiveImageName
**Why**:
set new image name
**Responsibility**:
**MacIntosh**
//os-9/OSXCarbon//
Sets the imageName, the imagename CFString, the shortImageName and the window title.
//Cocoa://
See iPhone, but we also update the main window's title.
**iPhone**
Ensure imageNameURL and imageName get new value use image encoding. There is no window title to update
UTF8 of course
**Unix**
Set imageName and ask display logic to set window title
**Windows**
Check to see if name is fully qualified, if not fix that, then set window title and imageName.
**BUGS**
Platforms disagree about if the image name has platform/image encoding
Also if the name is fully qualified or not