Inspect Manual

Using Inspect With TAL and pTAL
Inspect Manual429164-006
13-8
Expressions
-C20FOBJ2-SOURCE BACK 40
#1 ! ++++ subprocedure heading ++++
#2
#3 subproc sub_scope_n ( sub_scope_level, subparam_s8,
#4 subparam_i16, subparam_i32,
#5 subparam_f64, subparam_r32,
#6 subparam_r64, subparam_s8p,
#7 subparam_i16p, subparam_i32p,
#8 subparam_f64p, subparam_r32p,
#9 subparam_r64p );
#10
-C20FOBJ2-TRACE ARG
Num Lang Location (Arguments)
TAL .SUB_SCOPE_N: #SCOPE_N.#37(C20FTALK)
0 TAL #SCOPE_N.#25(C20FTALL)
SCOPE_LEVEL = 3, PARAM_S8 = ?6, PARAM_I16 = 20, PARAM_I32 = 72, PARAM_F64 =
272., PARAM_R32 = 2112., PARAM_R64 = 8320., PARAM_S8P = ?3, PARAM_I16P =
5,PARAM_I32P = 9, PARAM_F64P = 17., PARAM_R32P = 33., PARAM_R64P = 65.
1 TAL #C20FTAL2.#8(C20FTALP)
-C20FOBJ2-LOG STOP
Expressions
Here is the syntax you use to create TAL and pTAL expressions in Inspect.
expression:
condition [ { AND | OR } condition ]...
condition:
[ NOT ] simple-exp [ rel-op simple-exp ]...
rel-op: one of
< <= = >= > <>
'<' '<=' '=' '>=' '>' '<>'
simple-exp:
[ + | - ] term [ add-op term ]...
add-op: one of
+ - '+' '-'
LOR LAND XOR
term:
factor [ mult-op factor ]...
mult-op: one of
* / '*' '/' '\'
<< >> '<<' '>>'
factor: one of
primary primary.<primary[:primary]>