Go to: Synopsis. Return value. Related. MEL examples.
fprint int
int|float|string|vector
fprint is NOT undoable, NOT queryable, and NOT editable.
This command is functionally equivalent to the print function. The difference being the mandatory file identifier argument.None
// Print a string into a file // $exampleFileName = ( `internalVar -userTmpDir` + "example.tmp" ); $fileId=`fopen $exampleFileName "w"`; fprint $fileId "Hello there\n"; fclose $fileId;