Language elements – Teledyne LeCroy Conquest User Manual - Users Manual User Manual
Page 214

Appendix A
204
Language Elements
Integers
ASL accepts integer values in decimal, binary, or hexadecimal formats.
Floating point and negative numbers are not accepted.
Examples:
Hexadecimal: 0x21, 0x0001, 0xA5A5
Binary: 0b00100001, 0b1, 0b101001011010010110100101
Decimal: 33, 1, 42405
Strings
Strings in ASL can be static character strings or can contain variable values
that are calculated at runtime.
"<ConstantString1> <%d | %x | %b, …, %d | %x | %b>
<ConstantString2>, <Value1,…, ValueN>"
ConstantString1, ConstantString2:
Character strings. These strings do not change at runtime.
%d, %x, %b, Value:
The value of the expressions is replaced by the corresponding
strings in either decimal (%d), hexadecimal (%x), or binary (%b)
formats.
Examples:
"This is a static string"
"Field length is %d, LengthOf(F1)"