ReadFromFile/en: Porovnání verzí
(Založena nová stránka s textem „File coding.“) |
|||
| (Není zobrazeno 9 mezilehlých verzí od stejného uživatele.) | |||
| Řádek 9: | Řádek 9: | ||
'''Reads text from file.''' | '''Reads text from file.''' | ||
| − | Saves the contents of the [[#filename-| FileName]] | + | Saves the contents of the [[#filename-| FileName]] to the output parameter [[#text-| Text]]. |
== Input parameters == | == Input parameters == | ||
| Řádek 28: | Řádek 28: | ||
=== 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.