FileWrite
Posted by Ehab Adel, Last modified by Mohammad Alawneh on 04 July 2019 01:42 PM

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

 

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