For/en: Porovnání verzí

Z Wiki
Přejít na: navigace, hledání
(Založena nová stránka s textem „== Description ==“)
(Založena nová stránka s textem „Current value.“)
 
(Není zobrazeno 23 mezilehlých verzí od stejného uživatele.)
Řádek 7: Řádek 7:
 
'''Alias: FOR'''
 
'''Alias: FOR'''
  
'''Smyčka s nastavitelným počtem kroků.'''
+
'''Loop with an adjustable number of steps.'''
  
Nejdříve nastaví hodnotu podle parametru [[#initialvalue-| InitialValue]]. Dokud není hodnota větší než [[#finalvalue-| FinalValue]], spouští tělo smyčky a na jeho konci navýší hodnotu o [[#increment-| Increment]]. Chování příkazu při výskytu chyby v těle smyčky ovlivňuje parametr [[#continueonerror-| ContinueOnError]]. Parametry [[#flowname-| FlowName]] a [[#flowdescription-| FlowDescription]] umožňují uživatelská pojmenování a popisy jednotlivých průběhů těla smyčky, které lze použít v šabloně reportu.
+
First, it sets the value according to the [[#initialvalue-|InitialValue]] parameter. Unless the value is greater than [[#finalvalue-|FinalValue]], it starts the loop body and increases the value at the end by [[#increments-|Increments]]. The behavior of the command when an error occurs in the body of the loop is affected by the [[#continueonerror-|ContinueOnError]] parameter. The [[#flowname-|FlowName]] and [[#flowdescription-|FlowDescription]] parameters allow user names and descriptions of individual waveforms of the loop body that can be used in the report template.
  
== Vstupní parametry ==
+
== Input parameters ==
  
 
<span id="flowname-"></span>
 
<span id="flowname-"></span>
 
=== FlowName ===
 
=== FlowName ===
Typ [[Datové typy#String | String]]
+
Type [[Data types#String | String]]
  
Určuje pojmenování jednotlivých průběhů těla smyčky.
+
Specifies the name of individual waves of the loop body.
  
 
<span id="flowdescription-"></span>
 
<span id="flowdescription-"></span>
 
=== FlowDescription ===
 
=== FlowDescription ===
Typ [[Datové typy#String | String]]
+
Type [[Data types#String | String]]
  
Určuje popisy jednotlivých průběhů těla smyčky.
+
Specifies the descriptions of individual waveforms of the loop body.
  
 
<span id="initialvalue-"></span>
 
<span id="initialvalue-"></span>
 
=== InitialValue ===
 
=== InitialValue ===
  
Typ [[Special:MyLanguage/Datové typy#Number | Number]]
+
Type [[Special:MyLanguage/Data types#Number | Number]]
  
Počáteční hodnota.
+
Initial value.
  
 
<span id="finalvalue-"></span>
 
<span id="finalvalue-"></span>
 
=== FinalValue ===
 
=== FinalValue ===
  
Typ [[Special:MyLanguage/Datové typy#Number | Number]]
+
Type [[Special:MyLanguage/Data types#Number | Number]]
  
Konečná hodnota.
+
Final value.
  
 
<span id="increment-"></span>
 
<span id="increment-"></span>
 
=== Increment ===
 
=== Increment ===
  
Typ [[Special:MyLanguage/Datové typy#Number | Number]]
+
Type [[Special:MyLanguage/Data types#Number | Number]]
  
Nárust hodnoty po průchodu smyčkou.
+
Increase in value after passing through the loop.
  
 
<span id="continueonerror-"></span>
 
<span id="continueonerror-"></span>
 
=== ContinueOnError ===
 
=== ContinueOnError ===
  
Typ [[Special:MyLanguage/Datové typy#Number | Number]]
+
Type [[Special:MyLanguage/Data types#Number | Number]]
  
Režim reakce na chybu v tělě smyčky (0=nepokračovat, 1=pokračovat absorbujíce chyby, 2=pokračovat ale selhat). Při nenulové hodnotě smyčka pokračuje dalším průběhem, i když dojde v jejím těle k chybě. Každá chyba bude pohlcena, s výjimkou režimu 2, kdy bude po dokončení smyčky poslední chyba předána dále.
+
Error response mode in the loop body (0=do not continue, 1=continue absorbing errors, 2=continue but fail). With a non-null value, the loop continues through another waveform, even if an error occurs in its body. Each error will be absorbed, with the exception of mode 2, where the last error will be passed on after the loop completes.
  
 
=== Enabled ===
 
=== Enabled ===
  
Typ [[Special:MyLanguage/Datové typy#Number | Number]]
+
Type [[Special:MyLanguage/Data types#Number | Number]]
  
Povoluje nebo zakazuje příkaz. Při hodnotě 0 nebude příkaz proveden.
+
Enables or disables the command. If the value is 0, the command will not be executed.
  
 
=== PreWait ===
 
=== PreWait ===
  
Typ [[Special:MyLanguage/Datové typy#Number | Number]]
+
Type [[Special:MyLanguage/Data types#Number | Number]]
  
Prodleva v milisekundách před provedením příkazu. Nemá žádný vliv je-li Enabled=0.
+
Delay in milliseconds before executing the command. It has no effect if Enabled=0.
  
 
=== PostWait ===
 
=== PostWait ===
  
Typ [[Special:MyLanguage/Datové typy#Number | Number]]
+
Type [[Special:MyLanguage/Data types#Number | Number]]
  
Prodleva v milisekundách po provedení příkazu. Nemá žádný vliv je-li Enabled=0.
+
Delay in milliseconds before executing the command. It has no effect if Enabled=0.
  
== Výstupní parametry ==
+
== Output parameters ==
  
 
=== Value ===
 
=== Value ===
  
Typ [[Special:MyLanguage/Datové typy#Number | Number]]
+
Type [[Special:MyLanguage/Data types#Number | Number]]
  
Aktuální hodnota.
+
Current value.

Aktuální verze z 28. 1. 2021, 20:41

Jiné jazyky:
English • ‎čeština

Description

Alias: FOR

Loop with an adjustable number of steps.

First, it sets the value according to the InitialValue parameter. Unless the value is greater than FinalValue, it starts the loop body and increases the value at the end by Increments. The behavior of the command when an error occurs in the body of the loop is affected by the ContinueOnError parameter. The FlowName and FlowDescription parameters allow user names and descriptions of individual waveforms of the loop body that can be used in the report template.

Input parameters

FlowName

Type String

Specifies the name of individual waves of the loop body.

FlowDescription

Type String

Specifies the descriptions of individual waveforms of the loop body.

InitialValue

Type Number

Initial value.

FinalValue

Type Number

Final value.

Increment

Type Number

Increase in value after passing through the loop.

ContinueOnError

Type Number

Error response mode in the loop body (0=do not continue, 1=continue absorbing errors, 2=continue but fail). With a non-null value, the loop continues through another waveform, even if an error occurs in its body. Each error will be absorbed, with the exception of mode 2, where the last error will be passed on after the loop completes.

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

Value

Type Number

Current value.