beautypg.com

Teledyne LeCroy LeCroy Analyzers File Based Decoding Manual User Manual

Page 51

background image

File-based Decoding User Manual

Chapter 11: Primitives

LeCroy Corporation

45

SetAt()

RemoveAt( list, index integer> )

Support
Supported by all LeCroy analyzers.

Return value
None.

Comments
This function sets up an element in a list at a given index and fills up the list with new
elements.

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];

...

list = [ 0,1, 2, 3 ];

SetAt( list, 6, 15 ); # now list = [ 0,1, 2, 3, null, null, 15 ];

Parameter

Meaning

Default

Value

Comments

list_object list

index integer