Clarion Deep Assignment


Destination :=: Source


Note:

the '...' in-between the variable name and the variable type is not to be included in the actual code



Group1 GROUP

S ... SHORT

L ... LONG


Group2 GROUP

L ... SHORT

S ... REAL

T ... LONG


CODE


Is equivalent to:

Group2.S = Group1.S

Group2.L = Group1.L


Is equivalent to:

LOOP I# = 1 to 1000

... ArrayField[I#] = 7



Destination.Record :=: Source.Record

Is equivalent to:

... assign'n all the field values from the Source to Destination where the field names are alike

... fields with out an exact match'n field name are ALL skip