06-09-2022, 03:55 AM
or...
Pete
Code: (Select All)
PRINT "horse"
PRINT "cow"
PRINT "mule"
PRINT "pig"
PRINT "Why bring Steve's farm into this?"
PRINT: PRINT: PRINT
' Now do it again but so it indents 5 spaces...
printx "horse"
printx "cow"
printx "mule"
printx "pig"
printx "Why bring Steve's farm into this?"
PRINT: PRINT: PRINT
printr "horse"
printr "cow"
printr "mule"
printr "pig"
printr "Why bring Steve's farm into this?"
SUB printx (x$)
LOCATE , 5
PRINT x$
END SUB
SUB printr (x$)
LOCATE , _WIDTH - LEN(x$) - 5
PRINT x$
END SUB
Pete