locate()
テキストカーソルをグリッド座標 x, y へ移動します。
文法:
locate(
x
,
y
)
用例:
for y = 1 to 20
x= rnd(50)
locate(
x, y
)
printS( "現在の座標は x=" & x & " y=" & y )
next
waitKey