Thanks Pranav,

I knew I saw it somewhere...

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, July 19, 2001 3:44 PM
To: [EMAIL PROTECTED]
Subject: Re: <lingo-l> integer to RGB



Here's something Colin had posted on the list a while back...

on inttorgb int
   b = int mod 256
   int = int / 256
   g = int mod 256
   int = int / 256
   r = int mod 256
   return rgb(r,g,b)
end

Regards,
Pranav
-----------------------------------------------------------
Samuel Colt - the inventor of the point and click interface.



<snip>
Anyone have a script to convert an integer value to RGB components??
<snip>





[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]



[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to