Computer Science Canada Getch and Setscreen statements |
Author: | Killa Hilla [ Mon Mar 03, 2003 6:15 am ] |
Post subject: | Getch and Setscreen statements |
Ok, i have been trying to get the Setscreen and Getch statements working for awhile now but they wont work and it comes up with an error. ie when i put setscreen ("nocursor") it comes up with an error So can you please post how to use the Getch statement and if u can everything you can do with the setscreen statement Thanks Killa |
Author: | azndragon [ Mon Mar 03, 2003 6:25 am ] |
Post subject: | |
You have to also set the mode of display, either graphics or text: setscreen ("text") setscreen ("graphics") You then use colons and semicolons to add additional modes setscreen ("graphics;nocursor") You can also set the screen size with this: setscreen ("graphics:800;600;nocursor") Note: Not 100% sure about syntax, but the idea is the same. |
Author: | Hurukan [ Mon Mar 03, 2003 7:54 am ] |
Post subject: | setscreen syntax |
yeah theyre separated by commas setscreen("nobuttonbar,nocursor,noecho,graphics:600;800") goodbye annoying things |