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

Username:   Password: 
 RegisterRegister   
 Colour Tester
Index -> Programming, Turing -> Turing Submissions
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Robotixs




PostPosted: Mon May 10, 2004 4:38 pm   Post subject: Colour Tester

Ever sit there and try to look for the specific colour you need by trying a whole bunch of numbers.

Well no longer. Idea

This is a program that give the number that shows each colour.


Its a very simple program and I just wanted to share it with you.



Colour Test.t
 Description:

Download
 Filename:  Colour Test.t
 Filesize:  2.14 KB
 Downloaded:  246 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
Paul




PostPosted: Mon May 10, 2004 5:01 pm   Post subject: (No subject)

This would be much easier to use if you just went
code:

var answer: string (1)

put "What colour's shades would you like?"
    Draw.Line (0, 384, 287, 384, black)
    put ""
    put " 1. Grayscale"
    put " 2. Blue"
    put " 3. Green"
    put " 4. Yellow"
    put " 5. Red"
    put ""
    put ""
    getch (answer)
    cls

if answer = "1" then
        put "Shades of Gray"
        put ""
%etc...

and you missed 12 in red Sad
the_short1




PostPosted: Mon May 10, 2004 9:17 pm   Post subject: (No subject)

yea... PB's way of using numbers is much better.... maybe error trap to tell the user that ur entry is invalid.... cuz it took me a while to figure out u wanted me to enter the NAME... IN lowercase... i was keep entering number... or 'Red' instead of red..

good idea though... and having it show all those shades of that color is handy... cuz normallly they are all over the place **on the list...

also...
if u search for TippleFive and Me... we have both done color indexers that display all 255 colors...


+bits.... cuz i dont want to be mean Sad
Display posts from previous:   
   Index -> Programming, Turing -> Turing Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 3 Posts ]
Jump to:   


Style:  
Search: