FILE READ VARS: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
No edit summary
Mikeo (talk | contribs)
No edit summary
 
Line 2: Line 2:


{{Command|syntax=FILE_READ_VARS <file Number>, <list of up to 10 variable names>
{{Command|syntax=FILE_READ_VARS <file Number>, <list of up to 10 variable names>
|description=:Read a line of numeric values from a file that was opened using the [[FILE_OPEN]]. The text may contain up to 10 values, each seperated by a comma.  
|description=:Read a line of numeric values from a file that was opened using the [[FILE_OPEN]] command.
:The text may contain up to 10 values, each seperated by a comma.  


|param1=<file Number>|param1_desc={{file Number}}
|param1=<file Number>|param1_desc={{file Number}}

Latest revision as of 17:24, 13 January 2011

Up

Command

FILE_READ_VARS <file Number>, <list of up to 10 variable names>


Read a line of numeric values from a file that was opened using the FILE_OPEN command.
The text may contain up to 10 values, each seperated by a comma.

Parameters

<file Number>
File number, 1 to 10. You may have up to 10 files open at the same time.
<list of up to 10 variable names>
List of variable names

Example

FILE_OPEN "DataFile.txt", 3, READ
FILE_READ_VARS 3, v1, v2, v3