Ooops, posted the old code file. Actually reads:
CLS
' define com 2 segment
com1 = PEEK(&H402) + 256 * PEEK(&H403)
POKE &H402, com2 AND 255
POKE &H403, com2 \ 256
INPUT "what is the cut length in inches (ex. 62.25)"; length
INPUT "how many cuts on this piece of stock"...