Writes a character string, carriage return, and line feed to a file opened with FCreateEx or FOpenEx.
FPutsEx(nFileHandle, cData [, nMaxBytesToWrite])
Parameters
- nFileHandle
A file handle retrieved from FCreateEx, FOpenEx or a windows api function.
- cData
The content to write to the file.
- nMaxBytesToWrite (optional)
default = LEN(cData)
The maximum number of bytes to write.
Return Value
The number of bytes written or 0 if an error occured.
See Also
Reference
AFHandlesEx
FChSizeEx
FCloseEx
FCreateEx
FEoFEx
FFlushEx
FGetsEx
FLockFile
FLockFileEx
FOpenEx
FReadEx
FSeekEx
FUnlockFile
FUnlockFileEx
FWriteEx