The action copies values of given row of
one local structured variable to the given column of another local
structured variable.
Declaration
TRANSROWTOCOL _src[_row]^_iColSrc, _dst^_iColDst
Parameters
_src
in
RECORD type - sources structure.
_row
in
INT type - source row
index.
_iColSrc
in
INT type -
index
of the first item in source row.
_dst
in
RECORD type - destination structure.
_iColDst
in
INT type -
index of source structure column.
Description
The action internally performs the following activity:
INT _iRow
INT _iCol
_iCol := _iColSrc
FOR _iRow = 1 TO _dst\DIM DO_LOOP
_dst[_iRow]^_iColDst := _src[_row]^_iCol TIME _src[_row]^_iCol\TIM
_iCol := _iCol + 1
END_LOOP
Example
Values of the local structured variables _src
and _dst before execution of the action TRANSROWTOCOL _src[3]^C3, _dst^C3:
Pridať komentár