-
Notifications
You must be signed in to change notification settings - Fork 2
_fget
bergsma edited this page Sep 26, 2014
·
3 revisions
#fget
###Get data from a file.
Syntax
result = fget fileHandle ;
Arguments
- handle fileHandle
The handle of a file opened for read access.
Return Value
list result
- list : A list of values, appropriately typecast, read from the file. Values are delimited by white space characters
The STATUS variable is set to $ACKNOWLEDGE
- NULLString : At the end of stdin, the result is "".
The STATUS variable is set to %EOF
Warnings
- %EOF : At the end of stdin, the result is "".
Exceptions
-
%ARGUMENT: Invalid arguments. Usage: result = fget fileHandle ;
-
%FILE: Invalid file handle.
Description
- None
Examples
puts "Create an example for the function 'fget'" ;
Related Links
None