Syntax
Public Function FileWrite(entry as String) as Boolean
Description
This function is used to write an entry data to a specific opened file.
Parameters
Key | Description |
entry | New data to be written, a value of type String. |
Return value
Returns true if the data has been written to the file, otherwise, false.
Sample
Public Sub main() ' Open or Create File and write Data , finally Close it Dim fileName Dim fileMode fileMode = FILE_APPEND fileName = "C:VertexWorld.txt" OpenFile fileName, CInt(fileMode) FileWrite "Welcome TO VertexFx World" CloseFile End Sub
See Also