Mts Multipurpose Elite Uživatelský manuál Strana 273

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 662
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 272
Syntax
SerialNumber(SignalName)
Parameter
Signal Name—The “SignalName” in signal functions is the internal name of the signal and must be quoted
or passed in as a string variable. To determine the internal name of a signal, select the Show Internal
Names check box in the Resources tab. The Name column shows the internal names.
Example
SerialNumber(“_Load”)
Unit Class
String
String Functions
This section provides basic reference information about the available string functions.
CompareStrings
Compares two strings, ignoring case.
Returns
The result is 0 if the strings are equal; negative if the first string is ordered before the second string, and
positive if the second string is redered before the first string.
Syntax
CompareStrings(string1, string2)
Parameters
string1-First string
string2-second string compared to string1.
Unit Class
String
FindSubString
Returns
Finds the index of the first occurrence of a substring within a string starting at or after a specified starting
index. Results is the index where the substring begins, or negative if not found.
Syntax
FindSubstring(substring, string, startIndex)
MTS TestSuite | 273
Working with Variables
Zobrazit stránku 272
1 2 ... 268 269 270 271 272 273 274 275 276 277 278 ... 661 662

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

Žádné komentáře