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

Save fpg

From FenixWiki

Revision as of 19:02, 8 July 2007 by Sandman (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search


Contents

[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