next up previous contents
Next: Problem 8 Up: Sample Program 11c Previous: Sample Program 11c   Contents

Glocate-Gprint

Glocateは、Gprintと共に用い、Glocateで指定した画面上の座標 にGprintで指定した文字列をプリントします。例えば、
Glocate(-1,1)
Gprint "Tokyo Japan, time: "+str$(time)
とすれば、座標x:-1,y:1に"Tokyo Japan, time:"とstr$\verb\vert$\vert$(time) でtimeという実数を文字列に変換したものを後に続けて プリントします。



Takeyoshi Nagai 2013-10-07