PDA

View Full Version : Keyboard input



cmurphy@nsn.k12.nv.us
09-05-2003, 12:21 PM
I want to set up a program to cut different size rectangles. Is there a way to start a program, and then input your sizes. In other words i don't want to program for each square, but have a variable so I can tell it lenght and width, thickness.

ssmith@skeeball.com
09-05-2003, 02:53 PM
Like this?

INPUT "Input bit diameter" &dia
&dia="&dia"
INPUT "Input X length of box" &XL
&XL="&XL"
INPUT "Input y length of box" &YL
&YL="&YL"
INPUT "Input DEPTH OF CUT" &DEEP
&DEEP="&DEEP"
INPUT "INSIDE=I, OUTSIDE=O, TRUE=T" &OS
&OS="&OS"

VC,&DIA
CR,&XL,&YL,&OS,1,4,&DEEP,1,,1