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

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




PostPosted: Thu Oct 13, 2005 10:00 pm   Post subject: Flashing Text

im kinda new at the turing stuff were learning it in school but i wanna show off and be cool by showing them some cool stuff so is there anyway for me to make a certain word/number when i push a botton? if so plz help by showing me

thx in advance
Sponsor
Sponsor
Sponsor
sponsor
TokenHerbz




PostPosted: Thu Oct 13, 2005 11:55 pm   Post subject: (No subject)

code:

var w : int := Window.Open ("graphics:max;max,nocursor,noecho")

var x, y, c : int

x := maxx div 3
y := maxy div 3
c := 1

loop
    for i : 1 .. y
        c := Rand.Int (1, 150)
        Draw.Oval (x, y, i, i, c)
        c := Rand.Int (1, 150)
        Draw.Oval (maxx - x, y, y - i, y - i, c)
    end for
    for decreasing i : y .. 1
        c := Rand.Int (1, 150)
        Draw.Oval (x, y, i, i, c)
        c := Rand.Int (1, 150)
        Draw.Oval (maxx - x, y, y - i, y - i, c)
    end for
end loop


There, Now your cool!
ZeroPaladn




PostPosted: Fri Oct 14, 2005 9:01 am   Post subject: (No subject)

yeah, cool to everybody cept the ones prone to epileptic seizures Twisted Evil anyways, no matter how "cool" it is, just copying other peoples code and using it is concidered plagreism (of however you spell it). instead you should [i]study[\i] the code, then make yor own. you wont learn jst by copying.
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  [ 3 Posts ]
Jump to:   


Style:  
Search: