16
Technical support / TBasic Formatting
« on: May 04, 2004, 12:05:53 PM »
I wrote a bunch of custom functions using the tab key to indent the code so the program was easy to follow.
Kind of like this....
if testio(no_weld) and testio(no_pick) then
setlcd 1,1,"WELD & PICK BYPASSED"
else
if testio(no_weld) then
setlcd 1,1," WELDER BYPASSED "
else
if testio(no_pick) then
setlcd 1,1," PICKER BYPASSED "
else
setlcd 1,1," RING WELD-BOT "
endif
endif
endif
It looked great on the screen, but the printout only displayed square boxes for each tab. This made it even harder to follow on the printout.
So I had to replace all of my tabs with spaces so the printout could be followed by those lesser experienced can tell me how to program...lol
So is it me or is it the software?
WinXP printing to a HP Laserjet 8000 via lan.
Kind of like this....
if testio(no_weld) and testio(no_pick) then
setlcd 1,1,"WELD & PICK BYPASSED"
else
if testio(no_weld) then
setlcd 1,1," WELDER BYPASSED "
else
if testio(no_pick) then
setlcd 1,1," PICKER BYPASSED "
else
setlcd 1,1," RING WELD-BOT "
endif
endif
endif
It looked great on the screen, but the printout only displayed square boxes for each tab. This made it even harder to follow on the printout.
So I had to replace all of my tabs with spaces so the printout could be followed by those lesser experienced can tell me how to program...lol
So is it me or is it the software?
WinXP printing to a HP Laserjet 8000 via lan.