Write string to a file.
Write the string to the file associated with the specified handle. The handle parameter must be a variable. The count parameter must be a variable. The str parameter must be a string variable or string constant. The actual number of bytes written is returned in the cnt parameter.
- Parameters
-
handle | The file handle. |
str | The string to write to the file. |
cnt | The number of bytes actually written to the file. |
- Returns
- The function call result. See Loader module error codes.
- Examples:
- ex_WriteString.nxc.