FIELDEXISTS(vr, FieldName)
Checks if a field FieldName is already initialized in the multi-field value passed to vr. If the field exists return TRUE (1) otherwise FALSE (0). e.g.
vr.Mouse:=100; print(FieldExists(vr,'Mouse'));
This will print 1 (TRUE).
See more about fields at Using fields.
Go Back