Teledyne LeCroy LeCroy Analyzers File Based Decoding Manual User Manual

Page 42

Advertising
background image

Chapter 11: Primitives

File-based Decoding User Manual

36

LeCroy Corporation

FormatEx()

FormatEx (<format_string string>, <arg_list list>)

Support
Supported by all LeCroy analyzers.

Return value
Formatted string.

Comments
FormatEx

writes data to a string.

Example

str = "String";

i = 12;

hex_i = 0xAABBCCDD;

...

formatted_str = FormatEx( "%s, %d, 0x%08X", str, i, hex_i );

# formatted_str = "String, 12, 0xAABBCCDD"

Parameter

Meaning

Default

Value

Comments

format_string string

arg_list list

Used as the list of parameters in the
function call.

Advertising