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 (edit)
Sandman (Talk | contribs)

← Previous diff
Current revision (19:02, 8 July 2007) (edit) (undo)
Sandman (Talk | contribs)
m
 
Line 17: Line 17:
'''INT''' : Success '''INT''' : Success
{| {|
-| [[FALSE]] || - Invalid [[fileID]] or filename; The errors under [[#Errors|Errors]].+| [[false]] || - Invalid [[fileID]] or filename; The errors under [[#Errors|Errors]].
|- |-
-| [[TRUE]] || - Success.+| [[true]] || - Success.
|} |}

Current revision


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