Teledyne-lecroy Protocol Analyzers File-Based Decoding User Manual Manual de usuario Pagina 49

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 82
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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
Vista de pagina 48
1 2 ... 44 45 46 47 48 49 50 51 52 53 54 ... 81 82

Comentarios a estos manuales

Sin comentarios