SaveTextFile

<< Click to Display Table of Contents >>

Manual > Control Reference > Route > Route Methods >

SaveTextFile


 

Write to a text file.

 


syntax

SaveTextFile(

         fileName,

         text

         )

 


Parameters

 

fileName

 

Type:

character

 

File name. If [ansi] is specified, it will be saved in ANSI format. If omitted, it will be saved in utf8 (with BOM).

 

text

 

Type:

character

 

The contents of the text file to write. (If it is an array, it will be wrapped in newlines and saved to the file.)

 

Return Value

 

 

Type:

Boolean

 

FALSE - Failure. TRUE - Success.

 


hmtoggle_plus1Explanation

 

hmtoggle_plus1Example

 


Supported


Script Action

Browser script

×

Calculation Expression Syntax

 

 


reference