|
|
|
|
|
- Viewing the content of a file in UNICODE format
fLoadText (Function) In french: fChargeTexte Loads the content of a text file into any text control or text variable (string variable, edit control in a window, Static control in a report, etc.). fSaveBuffer is used to extract this file from the buffer.
Syntax
<Result> = fLoadText(<Name and path of text file> [, <Load mode>])
<Result>: Character string - Content of text file,
- Empty string ("") if an error occurred. To get more details on the error, use ErrorInfo.
<Name and path of text file>: Character string Name and full (or relative) path of the text file. A UNC path can be used. This file is not necessarily a file in TXT format: indeed, the binary zeros are allowed. <Load mode>: Integer constant Load mode of the file: | | foAnsi | Ansi file. In this case, <Result> will correspond to an Ansi character string. | foUnicode | Unicode file. In this case, <Result> will correspond to an Unicode character string. |
Business / UI classification: Business Logic
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|