GET_FILECONTENT$
|
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: |
|
||
|
Sample: |
CONTENT$ = GET_FILECONTENT$("C:\data\test.dat") IF CONTENT$ = ""
AND ERRORTEXT$
<> "" THEN ERRORMES = ERRORTEXT$ ENDIF |
||
|
See
also: |
|