Visara Master Console Center Scripting Guide Uživatelský manuál Strana 206

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 262
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 205
Chapter 5 Script Commands
Scripting Guide 206
VAL
Syntax:
VAL( $String) ==> %Number
Description:
Converts a string expression to a number.
Action:
The first number characters in a string expression are returned as a
number.
Parameters:
$String. String expression. The string expression to convert to a
number.
Returns:
Numeric value. The first number characters in String formatted as a
numeric value. If the first characters in String are not numeric, VAL()
returns zero.
Notes:
N/A
Example:
%Var := VAL( “4”) // 4
%Var := VAL( “123abcd”) // 123
%Var := VAL( “abcd123”) // 0
See Also:
STR
Zobrazit stránku 205
1 2 ... 201 202 203 204 205 206 207 208 209 210 211 ... 261 262

Komentáře k této Příručce

Žádné komentáře