Teledyne-lecroy Protocol Analyzers File-Based Decoding User Manual User Manual Page 49

  • Download
  • Add to my manuals
  • Print
  • Page
    / 82
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 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
Page view 48
1 2 ... 44 45 46 47 48 49 50 51 52 53 54 ... 81 82

Comments to this Manuals

No comments