Computer Science Canada

Need Turing Help!

Author:  WhooliMooli [ Sat Jan 18, 2014 12:39 pm ]
Post subject:  Need Turing Help!

Hey, I am currently creating a pong program for my grade 10 introduction for computer studies class and I really need some help.

When I try to create text for the scores of my game (program allows them to ask for a name they would like) I keep getting this error "Aruguent is the wrong type" Can someone please help me to solve this problem?

var scorefont : int := Font.New ("Agency FB:45")
var p1name, p2name : string

Font.Draw (": ", p1name, 100, 500, scorefont)
Font.Draw (": ", p2name, 524, 374, scorefont)


: