StrExpression/en: Porovnání verzí
(Založena nová stránka s textem „Type Number“) |
|||
| Řádek 95: | Řádek 95: | ||
=== Enabled === | === Enabled === | ||
| − | + | Type [[Special:MyLanguage/Data types#Number | Number]] | |
Povoluje nebo zakazuje příkaz. Při hodnotě 0 nebude příkaz proveden. | Povoluje nebo zakazuje příkaz. Při hodnotě 0 nebude příkaz proveden. | ||
Verze z 31. 1. 2021, 17:36
Obsah
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
Type String
Variable A.
B
Type String
Variable B.
C
Type String
Variable C.
D
Type String
Variable D.
E
Type String
Variable E.
F
Type String
Variable F.
G
Type String
Variable G.
H
Type String
Variable H.
Expression
Type String
Mathematical expression that can contain:
- Whole numbers
- Strings(e.g. "abc")
- Variables A, B, C, D, E, F, G a H
- Operators (+, -, *, /, %, <, >, <=, >= , ==, !=, !, <<, >>, ^, &, |, &&, ||)
- Parentheses ( )
- Functions:
- 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
Type 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
Type String
Výsledek zadaného výrazu.