| Syntax |
$io.rewrite{file_name}{bytes_per_character}{contents}{offset} |
| Documentation | Overwrites the specified file with the given contents.
bytes_per_character, the amount of bytes per character. Valid values are 1 for ASCII characters or 2 for unicode characters. The value of this parameter defaults to 1. file_contents, the contents to be writen to the specified file. offset, the position in the specified file to start writting at. This parameter is only expected by the 'write' method. |
| Examples | |
| Group | Special |
| Minimum required transaction-mode: | UPDATE=IO |
| Required scripting permission of the developer | PERMISSION_FL_BASIC |
| Minimum parameters | 3 |
| Maximum parameters | 3 |