Live Chat Software by Hybrid Solutions
Knowledgebase
FileWrite
Posted by Ehab Adel on 24 July 2012 02:12 PM

Syntax

Public Function FileWrite(entry as String) as Boolean 

This function used to write the entry data to specific file.

Parameters

Key Description 
entry New data to be writen,value of type String.

Return value

Returns true if the data has been writen 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


Back to VTL Client Script Index

(0 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).

Help Desk Software by Hybrid Solutions