Form and Gadget References
- Last UpdatedOct 24, 2022
- 1 minute read
!!Form and !!Form.Gadget are both PML references. After the command:
!X = !!Form.Gadget
!X is now a new reference, but the gadget itself has not been copied. Both PML variables now refer to the same gadget.
!X.val = 'New Value'
!!Form.Gadget = 'New Value'
This will both have the same effect and will assign a new value original gadget. You can think of a reference as another name for the same object or variable.