Is it possible to use logic statements in a report file?  If so what is the
format.


extern integer doff, loff, step_num, tl_num, outspeed, unspmode, unfdmode;
extern string st_desc, tl_desc;
extern float outfeed1, len_pset;

procedure section_1030000
{
        format ("%-d",step_num);
        format("=");
        format (" %s",tl_desc);
        format ("  OUT:%0.4f",len_pset);// if len_pset<>0 then output, if
len_pset =0 skip?
        format ("\n");
}

Sample out put.

current output
10=   0.063 DIA. SPOT DRILL   OUT:0.0000
20=   0.067 DIA. TWIST DRILL #51  OUT:1.7500
30=   0.078 DIA. TWIST DRILL   OUT:0.0000
40=   0.102 DIA. TWIST DRILL   OUT:0.0000

ideal
10=   0.063 DIA. SPOT DRILL  
20=   0.067 DIA. TWIST DRILL #51 OUT:1.7500
30=   0.078 DIA. TWIST DRILL  
40=   0.102 DIA. TWIST DRILL  


Thank you 

John

CBR Industries, Inc.
CNC Milling & Turning
www.cbrcnc.com

<<attachment: winmail.dat>>

Reply via email to