NumExpression/en: Porovnání verzí

Z Wiki
Přejít na: navigace, hledání
(Založena nová stránka s textem „Evaluates a numeric expression.“)
(Založena nová stránka s textem „Evaluated result of the given expression.“)
 
(Není zobrazeno 20 mezilehlých verzí od stejného uživatele.)
Řádek 9: Řádek 9:
 
Evaluates a numeric expression.
 
Evaluates a numeric expression.
  
Vypočítá výraz zadaný v parametru [[#expression-| Expression]] s možností využití proměnných [[#a-| A]], [[#b-| B]], [[#c-| C]] a [[#d-| D]].
+
Evaluates an expression given by [[#expression-| Expression]] parameter using variables [[#a-| A]], [[#b-| B]], [[#c-| C]] a [[#d-| D]].
  
== Vstupní parametry ==
+
== Input parameters ==
  
 
<span id="a-"></span>
 
<span id="a-"></span>
 
=== A ===
 
=== A ===
  
Typ [[Special:MyLanguage/Datové typy#String | String]]
+
Type [[Special:MyLanguage/Datové typy#String | String]]
  
Proměnná A.
+
Variable A.
  
 
<span id="b-"></span>
 
<span id="b-"></span>
 
=== B ===
 
=== B ===
  
Typ [[Special:MyLanguage/Datové typy#String | String]]
+
Type [[Special:MyLanguage/Datové typy#String | String]]
  
Proměnná B.
+
Variable B.
  
 
<span id="c-"></span>
 
<span id="c-"></span>
 
=== C ===
 
=== C ===
  
Typ [[Special:MyLanguage/Datové typy#String | String]]
+
Type [[Special:MyLanguage/Datové typy#String | String]]
  
Proměnná C.
+
Variable C.
  
 
<span id="d-"></span>
 
<span id="d-"></span>
 
=== D ===
 
=== D ===
  
Typ [[Special:MyLanguage/Datové typy#String | String]]
+
Type [[Special:MyLanguage/Datové typy#String | String]]
  
Proměnná D.
+
Variable D.
  
 
<span id="expression-"></span>
 
<span id="expression-"></span>
 
=== Expression ===
 
=== Expression ===
  
Typ [[Special:MyLanguage/Datové typy#String | String]]
+
Type [[Special:MyLanguage/Datové typy#String | String]]
  
Aritmetický výraz, který může obsahovat:
+
Arithmetic expression that can contain:
*Čísla
+
*Numbers
*Proměnné [[#a-| A]], [[#b-| B]], [[#c-| C]] a [[#d-| D]]
+
*Variables [[#a-| A]], [[#b-| B]], [[#c-| C]] a [[#d-| D]]
*Operátory +, -, *, /, %, &, |, ^, !, &&, ||, ==, !=, <, >, <=, >=, <<, >>
+
*Operators +, -, *, /, %, &, |, ^, !, &&, ||, ==, !=, <, >, <=, >=, <<, >>
*Závorky ( ).
+
*Brackets ( ).
*Funkce floor, ceil, round
+
*Functions floor, ceil, round
  
 
=== Enabled ===
 
=== Enabled ===
  
Typ [[Special:MyLanguage/Datové typy#Number | Number]]
+
Type [[Special:MyLanguage/Datové typy#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/Datové typy#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/Datové typy#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 ==
  
 
=== ExpressionResult ===
 
=== ExpressionResult ===
  
Typ [[Special:MyLanguage/Datové typy#String | String]]
+
Type [[Special:MyLanguage/Datové typy#String | String]]
  
Výsledek zadaného výrazu.
+
Evaluated result of the given expression.

Aktuální verze z 21. 12. 2021, 12:31

Jiné jazyky:
English • ‎čeština

Description

Alias: NE

Evaluates a numeric expression.

Evaluates an expression given by Expression parameter using variables A, B, C a D.

Input parameters

A

Type String

Variable A.

B

Type String

Variable B.

C

Type String

Variable C.

D

Type String

Variable D.

Expression

Type String

Arithmetic expression that can contain:

  • Numbers
  • Variables A, B, C a D
  • Operators +, -, *, /, %, &, |, ^, !, &&, ||, ==, !=, <, >, <=, >=, <<, >>
  • Brackets ( ).
  • Functions floor, ceil, round

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

ExpressionResult

Type String

Evaluated result of the given expression.