#IFSAME !1 DBMS
#IFCLASS !2 "F" // if field ref, use as is
SAVE_CUT |CS"!1:!2" !3 !4 !5 !6 !7 !8 !9
#ELSE
#IFDEF !2 // for all classes/types, assume variable string for field ref
SAVE_CUT ('!1:' + string(!2)) !3 !4 !5 !6 !7 !8 !9
#ELSE
#CHECK !2 _U // force cannot be untyped error.
#ENDIF
#ENDIF
#ELSE
GRXY !2 !3 //Start x and y
!A [] $381 !4 !5 //End x and y
!A [] $3A3 !1
#ENDIF