StrExpression/en: Porovnání verzí

Z Wiki
Přejít na: navigace, hledání
(Založena nová stránka s textem „Evaluates the expression given in the Expression parameter with the option of using parameters A, B, C, #d-|…“)
(Založena nová stránka s textem „== Input parameters ==“)
Řádek 11: Řádek 11:
 
Evaluates the expression given in the [[#expression-| Expression]] parameter with the option of using parameters [[#a-| A]], [[#b-| B]], [[#c-| C]], [[#d-| D]], [[#e-| E]], [[#f-| F]], [[#g-| G]] and [[#h-| H]] as variables.
 
Evaluates the expression given in the [[#expression-| Expression]] parameter with the option of using parameters [[#a-| A]], [[#b-| B]], [[#c-| C]], [[#d-| D]], [[#e-| E]], [[#f-| F]], [[#g-| G]] and [[#h-| H]] as variables.
  
== Vstupní parametry ==
+
== Input parameters ==
  
 
<span id="a-"></span>
 
<span id="a-"></span>

Verze z 31. 1. 2021, 17:28

Jiné jazyky:
English • ‎čeština

Description

Alias: SE

Evaluate string expressions

Evaluates the expression given in the Expression parameter with the option of using parameters A, B, C, D, E, F, G and H as variables.

Input parameters

A

Typ String

Proměnná A.

B

Typ String

Proměnná B.

C

Typ String

Proměnná C.

D

Typ String

Proměnná D.

E

Typ String

Proměnná E.

F

Typ String

Proměnná F.

G

Typ String

Proměnná G.

H

Typ String

Proměnná H.

Expression

Typ String

Aritmetický výraz, který může obsahovat:

  • Celá čísla
  • Řetězce (např. "abc")
  • Proměnné A, B, C, D, E, F, G a H
  • Operátory (+, -, *, /, %, <, >, <=, >= , ==, !=, !, <<, >>, ^, &, |, &&, ||)
  • Závorky ( )
  • Funkce:
length(string str)
pos(string str, string substr)
substr(string str, int offset)
substr(string str, int offset, int length)
trim(string str)
replace(string str, string from, string to)
replace(string str, string from, string to, bool replace_all)
lowercase(string str)
uppercase(string str)
if(bool condition, string then, string else)
strip_diacritics(string str)

Enabled

Typ Number

Povoluje nebo zakazuje příkaz. Při hodnotě 0 nebude příkaz proveden.

PreWait

Typ Number

Prodleva v milisekundách před provedením příkazu. Nemá žádný vliv je-li Enabled=0.

PostWait

Typ Number

Prodleva v milisekundách po provedení příkazu. Nemá žádný vliv je-li Enabled=0.

Výstupní parametry

ExpressionResult

Typ String

Výsledek zadaného výrazu.