Navigation:  thinBasic Modules > CGI >

CGI_WriteLogFile

Previous pageReturn to chapter overviewNext page

 

Description

 

Writes data to the thinBasicCGI.log log file.

 

Syntax

 

n = CGI_WriteLogFile(sText)

 

Returns

 

Returns a number

Returns nonzero for success otherwise zero if the function fails.

 

Parameters

 

Name

Type

Optional

Meaning

sText

String

No

The string to write into the log file.

 

Remarks

 

In order to writing to the log, the %CGI_WRITE_LOG_FILE option must be enabled.

 

Restrictions

 

See also

 

thinBasicCGI.log

 

Examples

 

CGI_WriteLogFile("Pass one completed!")