This wiki is out of date, use the continuation of this wiki instead

Save fpg

From FenixWiki

(Difference between revisions)
Jump to: navigation, search

Revision as of 19:01, 8 July 2007


Contents

Definition

INT save_fpg ( <INT fileID> , <STRING filename> )

Saves a certain file to disk.

Parameters

INT fileID - The fileID of the file to save.
STRING filename - The name of the file to be saved, including a possible path.

Returns

INT : Success

FALSE - Invalid fileID or filename; The errors under Errors.
TRUE - Success.

Errors

Insufficient memory - There is insufficient memory available. This error doesn't occur often.
Empty library - The specified file contains no graphics.
Unsupported color depth - A graphic in the specified file has an unsupported color depth.
Differing color depths - An FPG can't hold graphics of different color depths.
Personal tools