Depending on the format type, different record fields are used
for output and input. The variable x
stands for the
written or read value.
%f
):%i
):MASK==0
(because NOBT
is not set):x=VAL
VAL=x
MASK!=0
:x=RVAL&MASK
RVAL=x&MASK
MASK
is initialized to NOBT
1-bits shifted
left by SHFT
.
%{
):%s
):
During initialization, the @init
handler is executed, if
present. All format converters work like in normal operation.
aai aao ai ao bi bo mbbi mbbo mbboDirect longin longout stringin stringout waveform calcout calcout
Dirk Zimoch, 2005