Computer Science Canada

Help on a few turing tricks

Author:  HaVoC [ Tue Nov 18, 2003 8:22 pm ]
Post subject:  Help on a few turing tricks

Is it possible to do this?

code:

var c : string


c:= black

drawline (x,y,x,y,c)


Where c is replaced by black so I don't have to conitinously write it in?
And How do you change the font and size of text?

Author:  AsianSensation [ Tue Nov 18, 2003 8:25 pm ]
Post subject: 

lol, the number "7" works for the color black

drawline (0, 0, maxx, maxy, 7)

Author:  HaVoC [ Tue Nov 18, 2003 8:29 pm ]
Post subject: 

I just made c an integer and made c = 7. That worked. Anyways, what about font and and size?

Author:  Thuged_Out_G [ Tue Nov 18, 2003 9:06 pm ]
Post subject: 

it should work using Font.Draw

if no one shows you, i will when i get a chance

Author:  HaVoC [ Tue Nov 18, 2003 9:42 pm ]
Post subject: 

*Waits*

Author:  AsianSensation [ Tue Nov 18, 2003 10:39 pm ]
Post subject: 

um........it's the same thing.

code:
Font.Draw ("Hello", fontID, 0, 0, 7)


whenever you see the parameter that calls for a color to be inputted, all you have to do is either use 7, or type black to use that color.


: