- This wiki is out of date, use the continuation of this wiki instead
 
New fpg
From FenixWiki
(Difference between revisions)
												
			
			| Revision as of 12:00, 8 July 2007 (edit) 130.89.160.132 (Talk) ← Previous diff  | 
				Current revision (12:00, 8 July 2007) (edit) (undo) 130.89.160.132 (Talk)  | 
			
Current revision
[edit] Definition
INT new_fpg ( )
Creates and initializes a new file.
To add graphics to the created file, use the returned fileID in the function fpg_add(). The file can be saved with save_fpg(). To free a file, use unload_fpg().
Also called fpg_new().
[edit] Returns
INT : fileID
| -1 | - Too many files or insufficient memory. | 
| >=0 | - The fileID of the new file. | 
[edit] Errors
| Insufficient memory | - There is insufficient memory available. This error doesn't occur often. | 
