Difference between revisions of "FILE WRITE TEXT"
From Macros Wiki
Line 2: | Line 2: | ||
{{Command|syntax=FILE_WRITE_TEXT <file Number>, <text> | {{Command|syntax=FILE_WRITE_TEXT <file Number>, <text> | ||
− | |description=Write a line of text from a file that was opened using the [FILE_OPEN]. | + | |description=:Write a line of text from a file that was opened using the [FILE_OPEN]. |
|param1=<file Number>|param1_desc={{file Number}} | |param1=<file Number>|param1_desc={{file Number}} |
Revision as of 09:55, 19 August 2010
Command
- FILE_WRITE_TEXT <file Number>, <text>
- Write a line of text from a file that was opened using the [FILE_OPEN].
Parameters
- <file Number>
- File number, 1 to 10. You may have up to 10 files open at the same time.
- <text>
- Text to write to the file.
Example
- FILE_OPEN "DataFile.txt", 7, WRITE
- FILE_WRITE_TEXT 7, a$
- FILE_WRITE_TEXT 7, "Some Text"
- For an example macro see Global_Local