Function group | Execute on client | Platform(s) |
---|---|---|
FileOps | NO | All |
FileOpsObj.$writecharacter(iEnc,cData[,bAppend=kFalse,bBOM=kTrue])
Writes cData to the file, encoded using the encoding iEnc (kUniType... (not Auto/Bin/Char)). If bAppend is kFalse, the entire file contents are replaced.
bBOM controls if a BOM is added or not. If true, and the data is to be written at the start of the file, a Unicode Byte Order Marker (BOM) is added at the start of the file.
Returns kTrue for success.