This command writes a string into an external file that is currently opened (with the FOR OUTPUT or FOR APPEND option).
WRITE stringToWrite TO fileId;
A string expression to write in file.
A FILE variable that was used in a previous OPEN command.
OPEN "OutputFile" AS DataFile FOR OUTPUT;
WRITE "John Smith" TO DataFile;
Copyright © AgileLoad. All rights reserved.