SaveTextAsLocalFile
Structure
SaveTextAsLocalFile(sText, sFileName: String): Char
Parameters
| Parameter | Type | Description |
|---|---|---|
sText | String | The text to be saved |
sFileName | String | The file name |
Return value
Char
'1' = Success, '0' = Failure
Description
Use this function to save the text in sText to a file. The file will be created in your IndySoft \Temp directory. If you would like to save it another location on your network then use SaveTextAsFile.