StrExpression/en: Porovnání verzí

Z Wiki
Přejít na: navigace, hledání
(Založena nová stránka s textem „Type Number“)
(Založena nová stránka s textem „Type Number“)
Řádek 107: Řádek 107:
 
=== 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.
 
Prodleva v milisekundách po provedení příkazu. Nemá žádný vliv je-li Enabled=0.

Verze z 31. 1. 2021, 17:36

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

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

Type Number

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

PostWait

Type 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.