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

Save fpg

From FenixWiki

Jump to: navigation, search


[edit] Definition

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

Saves a certain file to disk.

[edit] Parameters

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

[edit] Returns

INT : Success

false - Invalid fileID or filename; The errors under Errors.
true - Success.

[edit] 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