
B-63423EN/02 SAMPLE PROGRAM
7. USER PROGRAMS FOR FACING MENU
-313-
if[#[value 9] eq 3]then #1=6126
else #1=6125
/*** Guide Picture Setting ***/
if[guide_frequency ne secont_tine]goto 90
if[cursor le 8]then
if[cursor eq 2]then
call #1
else
if[previous_cursor gt 8 || previous_cursor eq 2]then
call fig_clear
endif
call 6122
endif
else
if[previous_cursor le 9 && previous_cursor ne 2]then
call fig_clear
endif
if[previous_cursor eq 9]then
call fig_clear
endif
call #1
endif
previous_cursor = cursor
n90
/*** Attribution Setting ***/
if[#[value 1] eq 1]then /* Rough
#[attribute 4] = att_decimal
#[attribute 5] = att_decimal
#[attribute 6] = att_decimal
else /* Finish
#[attribute 4] = att_not_use
#[attribute 5] = att_not_use
#[attribute 6] = att_not_use
endif
if[#[value 9] eq 3]then /* Ring
#[attribute 17] = att_decimal + att_detail
else /* Uni Dir or Bi Dir
#[attribute 17] = att_not_use
endif
m99
/****************************************************************************
/*
/* FIGSUB5.SRC :: Face
/*
/***** 6121: Angle
/***** 6122: Prepare
/***** 6123: Square Uni/Bi Dir
/***** 6124: Square Ring
/***** 6125: Circle Uni/Bi Dir
/***** 6126: Circle Ring
/****************************************************************************
$INCLUDE SYMBOL.DEF
O6121 ;############################################### Angle
/* blue for Work
color blue
G242X[24-shift_grap_X]Y[21+shift_grap_Y]
G01X[119-shift_grap_X]Y[68+shift_grap_Y]
G01X[88-shift_grap_X]Y[131+shift_grap_Y]
G01X[-7-shift_grap_X]Y[84+shift_grap_Y]
G01X[24-shift_grap_X]Y[21+shift_grap_Y]
#1=45-shift_char_X /* for (X,Y)