Posted by Stephen Auerbach on August 24, 2004 at 11:10:45: Uploaded files: 1
Why doesn't this program do what I expect it to do?
clear
Print (CS)
print @(10,10);"This is a test: "
A$ = CURPOS$ ! Contents of A$ will be @YYXX@
Y = HEXDEC(SUB(A$,1,1)) ! Row value (decimal)
X = HEXDEC(SUB(A$,2,1)) - 1 ! Column value (decimal
input @(X,Y),InTest$
Print @(0,20);"*";InTest$;"*";X; Y & wait
The cusor position is way down on the screen and no where near the print.