COPYCOL action


Function
The action copies values between two columns of two local structures.
Declaration
 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
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

Related pages:

0 komentárov

Nie ste prihlásený. Akékoľvek zmeny, ktoré vykonáte, sa označia ako anonymné. Ak už máte svoj účet, pravdepodobne sa budete chcieť prihlásiť .