Teledyne-lecroy Protocol Analyzers File-Based Decoding User Manual Instrukcja Użytkownika Strona 49

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 82
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 48
File-based Decoding User Manual Chapter 11: Primitives
LeCroy Corporation 43
11.3 List Manipulation Primitives
RemoveAt()
RemoveAt( <list_object list, index integer> )
Parameter Meaning
Default
Va
lue Comments
list_object li
st
index in
teger
Support
Supported by all LeCroy analyzers.
Return value
Removed element if the specified index is less th
an 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, 0x
AA, 15];
removed_Item = RemoveAt( list, 6 );
removed_Item = RemoveAt( list, 6 ); # now list = [ 0, 1, 2, 3,
4, 5, 15
];
# removed_Item = 0xAA
Przeglądanie stron 48
1 2 ... 44 45 46 47 48 49 50 51 52 53 54 ... 81 82

Komentarze do niniejszej Instrukcji

Brak uwag