StrExpression/en: Porovnání verzí

Z Wiki
Přejít na: navigace, hledání
(Založena nová stránka s textem „Enables or disables the command. If the value is 0, the command will not execute.“)
(Založena nová stránka s textem „Delay in milliseconds before executing the command. It has no effect if Enabled=0.“)
Řádek 103: Řádek 103:
 
Type [[Special:MyLanguage/Data types#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 ===

Verze z 31. 1. 2021, 17:37

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

Enables or disables the command. If the value is 0, the command will not execute.

PreWait

Type Number

Delay in milliseconds before executing the command. It has no effect if 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.