| isImage |       | 
|  | 
| Image | 
| An integer between 0 and 116 specifying the frame number of the image. Values in the range of 100-116 correspond to hidden frames. | 
|  | 
|  | 
| TRUE (0) if the image or sequence with the specified index exists | 
| FALSE (1) if the image or sequence with the specified index does not exist | 
|  | 
| ERR_OK | 
|  | 
| The flag set if successful. | 
|  | 
| ERR_FAILED | 
|  | 
| The flag set if failed. | 
|  | 
| This set of statements checks on the existence of image frames and closes the ones that are found: | 
|  | 
| For i=1 to 99 | 
| If isImage(i) then | 
| closeIm(i) | 
| End If | 
| Next |