Porovnávané verzie

Kľúč

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

COPYCOL action


Function
The action copies values between two columns of two local structures.
Declaration


Blok kódu
languageesl
themeConfluence
 COPYCOL _srcCol, _dstCol
Parameters


_srcColin/outReference to a source column used when copying.
_dstColinReference to a destination column used when copying - Record, type ALIAS, object Structured variable.
Description
The action evaluates neither the item, which the parameter _dstCol points to, nor possible indexes used in the parameters _srcCol and  _dstCol. For these parameters is important the column, which they point to. If the structure _dstCol does not contain the required number of rows, the action executes internally the action REDIM.
Example


Blok kódu
languageesl
themeRDark
RECORD (SD.RecordDef) _src
 RECORD  (SD.DbStruct) _dst
 
 REDIM _src[10]
 
 ... 
 
; Copying values from the column src^Int into the column_dst^Int
 ; The action executes internally the command REDIM _dst[_src\DIM]
 
 COPYCOL _src^Int, _dst^Int

Info
titleRelated pages:

Script actions