! script name: hexajet.d/endhexajet
! var_topic: end codes for the hexajet
! Version_270725.a
!A
!A NAME:
!A
!A      End codes for Hexajet           VARIATIONAL
!A
!A DESCRIPTION:
!A
!A
!B INSTRUCTIONS:
!B
!B
stat=ChangeLabelStr("ScriptNameStatus","Function: hexajet end")
DIM Destination$[256]
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Var_object= CheckVarObject
IF (ExitScript(Destination$)) THEN Leave
ActivateUndo
RecordFunctionOn
Stat= RecordDescr("HEXAJET: End")
Stat= SetRecDelLastExec
Stat= EndHexaJet
RecordFunctionOff
Curr_record= CurrentVarRecord
CloseVarRecord
ActivateUndo
Stat= AdvanceUndoNumber("hexajet end")
Stat= AddItemToUndo(WsUBCreateMode,Curr_record)
Leave:!
Stat=SetInputFormat("n4","")
IF (NOT LEN(Destination$)) THEN
          LOAD "typecontrol"
ELSE
          LOAD Destination$
END IF
END
