Porovnávané verzie

Kľúč

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

TRANSCOLTOROW action


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


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


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


Blok kódu
languageesl
themeRDark
; TRANSCOLTOROW _src^_iColSrc, _dst[_row]^_iColDst
 INT _iRow
 INT _iCol
 
 
 _iCol := _iColDst
 FOR _iRow = 1 TO _src\DIM DO_LOOP
 _dst[_row]^_iCol:= _src[_iRow]^_iColSrc TIME _src[_iRow]^_iColSrc\TIM
 
 _iCol := _iCol + 1
 END_LOOP
Example
Values The values of the local structured variables _src and _dst before execution of the action TRANSCOLTOROW _src^C2, _dst[2]^C3:

After execution of the action:


Info
titleRelated pages:

Script actions