Teledyne-lecroy Protocol Analyzers File-Based Decoding User Manual Uživatelský manuál Strana 39

  • 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 38
File-based Decoding User Manual Chapter 11: Primitives
LeCroy Corporation 33
Chapter 11: Primitives
Primitive functions are called similarly to regular functions, but they are implemented
outside of the language. Some primitives support multiple types for certain arguments,
but in general, if an argument of the wrong type is supplied, the function returns null.
11.1 General Primitives
Call()
Call( <function_name string>, <arg_list list> )
Parameter Meaning
Default
Value Comments
function_name str
ing
arg_list li
st Used as the list of parameters in the function
call.
Support
Supported by all LeCroy analyzers.
Return value
Same as that of the func
tion that is called.
Comments
Calls a function whose name matches the function_name parameter. All scope rules
a
pply normally. Spaces in the function_name parameter are interp
reted as the ‘_
(underscore) character since function names cannot contain spaces.
Example
Call("Format", ["the number is %d", 10]);
is equivalent to:
Format("the number is %d", 10);
Zobrazit stránku 38
1 2 ... 34 35 36 37 38 39 40 41 42 43 44 ... 81 82

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

Žádné komentáře