如:Machine Mode
Creation Date
是在MOM_start_of_program {} 中
#_______________________________________________________________________________
proc MOM_start_of_program {} {
#_______________________________________________________________________________
# This procedure is executed at the very begining of the program.
# It gets called before any command is read from the task file.
#_______________________________________________________________________________
global mom_seqnum
global mom_part_name
global mom_logname
global mom_date
global mom_spindle_speed
global p_name
global mom_output_file_basename
#********The following procedure opens the warning and listing files
OPEN_files
#********The following procedure lists the header information in commentary data
LIST_FILE_HEADER
MOM_set_seq_off
set mom_seqnum 100
# MOM_output_literal "(######## TASK : $mom_part_name ############)"
# MOM_output_literal "(# Created By : $mom_logname)"
# MOM_output_literal "(# Creation Date: $mom_date)"
# MOM_output_literal "(############################################)"
注意:调用前先定义为全局变量 global mom_part_name