ReadFromFile/en: Porovnání verzí
(Založena nová stránka s textem „ReadFromFile“) |
|||
| (Není zobrazeno 17 mezilehlých verzí od stejného uživatele.) | |||
| Řádek 3: | Řádek 3: | ||
[[Category:GuiMaster Library]] | [[Category:GuiMaster Library]] | ||
| − | == | + | == Description == |
'''Alias: RFF''' | '''Alias: RFF''' | ||
| − | ''' | + | '''Reads text from file.''' |
| − | + | Saves the contents of the [[#filename-| FileName]] to the output parameter [[#text-| Text]]. | |
| − | == | + | == Input parameters == |
<span id="filename-"></span> | <span id="filename-"></span> | ||
=== FileName === | === FileName === | ||
| − | + | Type [[Special:MyLanguage/Data types#String | String]] | |
| − | + | File name, including path, whose contents will be read to the output parameter [[#text-| Text]]. | |
=== Encoding === | === Encoding === | ||
| − | + | Type [[Special:MyLanguage/Data types#Number | Number]] | |
| − | + | File coding. | |
=== Enabled === | === Enabled === | ||
| − | + | Type [[Special:MyLanguage/Data types#Number | Number]] | |
| − | + | Enables or disables the command. If the value is 0, the command will not be executed. | |
=== PreWait === | === PreWait === | ||
| − | + | Type [[Special:MyLanguage/Data types#Number | Number]] | |
| − | + | Delay in milliseconds before executing the command. It has no effect if Enabled=0. | |
=== PostWait === | === PostWait === | ||
| − | + | Type [[Special:MyLanguage/Data types#Number | Number]] | |
| − | + | Delay in milliseconds before executing the command. It has no effect if Enabled=0. | |
| − | == | + | == Output parameters == |
<span id="text-"></span> | <span id="text-"></span> | ||
=== Text === | === Text === | ||
| − | + | Type [[Special:MyLanguage/Data types#String | String]] | |
| − | + | Contents of the file specified by the [[#filename-| FileName]] parameter. | |
Aktuální verze z 29. 1. 2021, 13:21
Obsah
Description
Alias: RFF
Reads text from file.
Saves the contents of the FileName to the output parameter Text.
Input parameters
FileName
Type String
File name, including path, whose contents will be read to the output parameter Text.
Encoding
Type Number
File coding.
Enabled
Type Number
Enables or disables the command. If the value is 0, the command will not be executed.
PreWait
Type Number
Delay in milliseconds before executing the command. It has no effect if Enabled=0.
PostWait
Type Number
Delay in milliseconds before executing the command. It has no effect if Enabled=0.
Output parameters
Text
Type String
Contents of the file specified by the FileName parameter.