Teledyne-lecroy LeCroy Analyzers File Based Decoding Manual Uživatelský manuál Strana 50

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 82
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 49
Chapter 11: Primitives File-based Decoding User Manual
44 LeCroy Corporation
11.3 List Manipulation Primitives
RemoveAt()
RemoveAt( <list_object list, index integer> )
Support
Supported by all LeCroy analyzers.
Return value
Removed element if the specified index is less than or equal to the list upper bound,
otherwise null value is returned.
Comments
This function removes an element in a list at a given index.
Example
list = [0, 1, 2, 3];
list += 4;
list += 5;
SetAt( list, 8, 15, 0xAA ); # now list = [ 0, 1, 2, 3, 4, 5,
0xAA, 0xAA, 15];
removed_Item = RemoveAt( list, 6 );
removed_Item = RemoveAt( list, 6 ); # now list = [ 0, 1, 2, 3,
4, 5, 15];
# removed_Item = 0xAA
Parameter Meaning
Default
Value
Comments
list_object list
index integer
Zobrazit stránku 49
1 2 ... 45 46 47 48 49 50 51 52 53 54 55 ... 81 82

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

Žádné komentáře