MSM-Workstation
Macros
Go back to the alphabetic list of macros
Go back to the first page of this tutorial
This section is for internal use only.
%%AppendData ( value , number )
This macro is replaced by code that adds data to a record that is
being constructed to transmit information.
When a threshold size of the record is exceeded, the assembled information
will be transmitted.
Final transmission of the record is done using the
macro %%SendIt.
Examples
Set %pdu=$C(#62,#80),%lvl=1,%lvls=2 ; initialize
Set %pdu=%pdu_$C(#A3,#80) ; add wFontRequest
Set %lvl=2,$P(%lvls,",",2)=4
%%AppendData($1,0) ; Add font face
%%AppendData($2,1) ; Add font size
%%AppendData($3,2) ; Add font style
%%AppendData($4,3) ; Add size units
%%SendIt ; Transmit request
The above sequence of code build a request, and transmits it. The
request in this example corresponds to the function $WFONT.
See also
%%SendIt.