<<

Contents

Search

>>

 

GET_FILECONTENT$

 

 

Function

 

 

Syntax:

GET_FILECONTENT$(<Filename>)

 

<Filename> = <STRING-EXPRESSION>

 

Meaning:

Returns the content of the file <Filename> as String.

 

If the file does not exist or an error occured, the empty string "" is returned and ERRORTEXT$ contains the error message.

 

Parameter:

Filename

Filename

 

Sample:

CONTENT$ = GET_FILECONTENT$("C:\data\test.dat")

 

IF CONTENT$ = "" AND ERRORTEXT$ <> ""

THEN ERRORMES = ERRORTEXT$

ENDIF

 

See also:

GET_FILESIZE

GET_FILENAME$

GET_FILEPATH$

GET_ABSOLUTE_FILEPATH$

GET_FILEINFO$

OPEN

PROCESS_SEQ_FILE