Computer Science Canada

No Cursor? Possible?

Author:  Da_Big_Ticket [ Thu Oct 06, 2005 4:04 pm ]
Post subject:  No Cursor? Possible?

Im doing a turing assignment for school. The program requires an opening screen and i wanted to have it so that they would press any key to continue (which i know how to do) however, is there a way to make the flashing cursor go away, or at least on this screen? Thanks for your help.

DBT

Author:  beard0 [ Thu Oct 06, 2005 4:09 pm ]
Post subject: 

code:
View.Set("nocursor")

Laughing

Also: Try using the Turing help file; A search for "cursor" does bring up this info.

Author:  Albrecd [ Thu Nov 10, 2005 2:51 pm ]
Post subject: 

or setscreen ("nocursor")... but View.Set looks cooler Very Happy

Author:  do_pete [ Thu Nov 10, 2005 3:01 pm ]
Post subject: 

can go
code:
View.Set("nocursor")
Input.Pause
View.Det("cursor")

Author:  [Gandalf] [ Thu Nov 10, 2005 4:13 pm ]
Post subject: 

View.Det?

Albrecd, how about keeping your replies limited to the first page of Turing Help? Anything this old doesn't need a reply like yours.

Author:  do_pete [ Mon Nov 14, 2005 11:48 am ]
Post subject: 

my bad i meant View.Set not View.Det

Author:  The_Triangle [ Thu Nov 24, 2005 5:59 am ]
Post subject: 

do_pete wrote:
can go
code:
View.Set("nocursor")
Input.Pause
View.Det("cursor")


what would the Input.Pause do ?

Author:  codemage [ Thu Nov 24, 2005 1:10 pm ]
Post subject: 

Waits for a key to be pressed, then continues.

For an explanation of any command in Turing, type in the command, put the cursor on it, and then hit F9.

(Or F8 for a really brief contextual reference.)

Author:  The_Triangle [ Thu Nov 24, 2005 4:01 pm ]
Post subject: 

codemage wrote:
Waits for a key to be pressed, then continues.

For an explanation of any command in Turing, type in the command, put the cursor on it, and then hit F9.

(Or F8 for a really brief contextual reference.)


instead of a key to be pressed, could it wait for a mouse click?

Author:  Tony [ Thu Nov 24, 2005 4:12 pm ]
Post subject: 

The_Triangle wrote:
instead of a key to be pressed, could it wait for a mouse click?

yes - buttonwait()

Author:  The_Triangle [ Thu Nov 24, 2005 4:13 pm ]
Post subject: 

Tony wrote:
The_Triangle wrote:
instead of a key to be pressed, could it wait for a mouse click?

yes - buttonwait()


what would the parameters be ?

Author:  Tony [ Thu Nov 24, 2005 4:31 pm ]
Post subject: 

turing help wrote:

buttonwait (motion : string,
var x, y, buttonnumber, buttonupdown : int)


for example
Turing:

put "click a mouse button"
var x, y, a, b : int
buttonwait ("up", x, y, a, b)
put "clicked on:", x, ":", y


: