Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

TRANSROWTOCOL action


Function
The action copies values of the given row of one local structured variable to the given column of another local structured variable.
Declaration


Blok kódu
languageesl
themeConfluence
 TRANSROWTOCOL _src[_row]^_iColSrc, _dst^_iColDst
Parameters


_srcinRECORD type - sources structure.
_rowinINT type - source row index.
_iColSrcinINT type - index of the first item in source row.
_dstinRECORD type - destination structure.
_iColDstinINT type - index of source structure column.
Description
The action internally performs the following activity:
 


Blok kódu
languageesl
themeRDark
 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:

After execution of the action:


Info
titleRelated pages:

Script actions