very simple code all I need is to have everything in back except few line on level 63 when I create PDF with pen table.
after I run this code everything turn black, if I take out the first 2 lines everything on level 63 show up in the correct color but some of the line that are not on level 63 is not black. looks like the color keyword doesn't work for some reasons. Please help.
Here is my code:color = 224 !everything 'Black'priority=2
if ((level == 63) and (style == 3)) then !'Blue' if (color == 8) then color=253 priority=0 endifendifif ((level == 63) and (style == 3)) then !'Orange' if (color == 6) then color=249 priority=0 endifendifif ((level == 63) and (style == 3)) then !'Purple' if (color == 96) then color=250 priority=0 endifendifif ((level == 63) and (style == 2)) then !'Green' if (color == 18) then color=251 priority=0 endifendifif ((level == 63) and (style == 7)) then !'Red' if (color == 3) then color=252 priority=0 endifendif
Sammy,
Try this pentable, it has the black statement at the end
if ((level == 63) and (style == 3) and (color == 8)) then !'Blue' color=(0,0,255) priority=0else if ((level == 63) and (style == 3) and (color == 6)) then !'Orange' color=(255,127,0) priority=0else if ((level == 63) and (style == 3) and (color == 96)) then !'Purple' color=(255,0,255) priority=0else if((level == 63) and (style == 2)and (color == 18)) then !'Green' color=(0,255,0) priority=0else if ((level == 63) and (style == 7) and (color == 3)) then !'Red' color=(255,0,0) priority=0else if (color .IN. 0-255) then color =(0,0,0) priority=2endif
Tom F.