
7. USER PROGRAMS FOR FACING MENU
SAMPLE PROGRAM B-63423EN/02
-312-
7.3 GUIDANCE DRAWING FIGURE
/****************************************************************************
/*
/* FIG5.SRC :: Face
/*
/***** 8661: Square
/***** 8662: Circle
/****************************************************************************
$INCLUDE SYMBOL.DEF
O8661 ;############################################### Square
if[#[value 9] eq 3]then #1=6124
else #1=6123
/*** 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[cursor eq 15]then
call fig_clear
call 6121
else
if[previous_cursor eq 15]then
call fig_clear
endif
if[previous_cursor lt 9 && previous_cursor ne 2]then
call fig_clear
endif
call #1
endif
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 19] = att_decimal + att_detail
#[attribute 20] = att_decimal + att_detail
else /* Uni Dir or Bi Dir
#[attribute 19] = att_not_use
#[attribute 20] = att_not_use
endif
m99
O8662 ;############################################### Circle