ASSIGN

Reference

Syntax

ASSIGN { dobj[+off][(len)]
       | [TABLE FIELD] (name)
       | oref->(attr_name)
       | {class|(class_name)}=>{attr|(attr_name)}
       | dref->*
       | {dobj INCREMENT inc}
       | {COMPONENT comp OF STRUCTURE struc} }
  TO <fs>
  [ { CASTING [ {TYPE type|(name)}
              | {LIKE dobj}
              | {[TYPE p] DECIMALS dec}
              | {TYPE HANDLE handle} ] }
  | { {TYPE name}
    | {[TYPE name] DECIMALS dec} } ]
  [RANGE range].


Effect

Assigns a memory area to a field symbol <fs>.

Additions

Specifying the memory area:

Specifying the data type:

''Restriction of the memory area: