
-----------------------------------
imsry
Sun Dec 13, 2009 6:05 pm

Is it possible?? get
-----------------------------------
What is it you are trying to achieve?

Is it possible to move the get somewhere else other than the top left corner?

What is the problem you are having?
i need a code that can move get to the middle. if its possible.
would it be location(??,??)


Please specify what version of Turing you are using
4.1

-----------------------------------
ecookman
Sun Dec 13, 2009 6:09 pm

RE:Is it possible?? get
-----------------------------------
im sorry, but you are rather unspecific. do you have something like this...

[code]
var a : int 
get a 
put a
[/code]

and you are wondering how to move the cursor or where text is on the screen?


If so, locate(X,Y) will do ya.

the x coordinate is the number of spaces from the left and the y is the lines (returns). It does not work by pixels.

-----------------------------------
imsry
Sun Dec 13, 2009 6:25 pm

RE:Is it possible?? get
-----------------------------------
Sweet Thanks : D

-----------------------------------
ecookman
Sun Dec 13, 2009 6:26 pm

Re: RE:Is it possible?? get
-----------------------------------
Sweet Thanks : D
no problem, just next time please try to be more descriptive. :)

-----------------------------------
Zren
Sun Dec 13, 2009 6:29 pm

RE:Is it possible?? get
-----------------------------------
locatexy(x,y) does though.

For the procedure ecookman told you though. In order to start the text in the middle, you can use:

maxcol div 2 and maxrow div 2 to get the middle column and row.

-----------------------------------
ecookman
Sun Dec 13, 2009 6:30 pm

Re: RE:Is it possible?? get
-----------------------------------
locatexy(x,y) does though.

For the procedure ecookman told you though. In order to start the text in the middle, you can use:

maxcol div 2 and maxrow div 2 to get the middle column and row.

aah thanks for that zren I forgot what function I had to div to get tin in the middle lol maxx and maxy does not work XD

merci buckets.
