Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 LocateXY Help
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
jolly50




PostPosted: Sat Nov 03, 2007 9:08 pm   Post subject: LocateXY Help

Hello there,

I'm trying to make a sign in turing using locatexy... my problem is that when i run my code I get the writing, but its leaving a white trail through the box.

code:


drawbox (150,300,435,100,9)
locatexy (200,200)
    put "Jolly's Fabulous Burgers"



Am i missing something in my code?
Sponsor
Sponsor
Sponsor
sponsor
CodeMonkey2000




PostPosted: Sat Nov 03, 2007 9:25 pm   Post subject: RE:LocateXY Help

Put a .. at the end of your put statement.
HeavenAgain




PostPosted: Sun Nov 04, 2007 12:05 am   Post subject: RE:LocateXY Help

Font.Draw << look that up
when working with graphics + text, you might not want to use put
Clayton




PostPosted: Sun Nov 04, 2007 8:58 am   Post subject: RE:LocateXY Help

The reason you're getting that white line, is because put clears a line (because it uses text mode), and then outputs the text to that line. If you're really interested in doing this, go with HeavenAgain's advice, and look up Font.Draw().
jolly50




PostPosted: Sun Nov 04, 2007 9:50 am   Post subject: RE:LocateXY Help

Thanks for all your help
CodeMonkey2000




PostPosted: Sun Nov 04, 2007 1:02 pm   Post subject: Re: LocateXY Help

I told you just do this:
Turing:

drawbox (150, 300, 435, 100, 9)
locatexy (200, 200)
put "Jolly's Fabulous Burgers" ..
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 6 Posts ]
Jump to:   


Style:  
Search: