Call to all you one-liners !

Bob Sneidar bobs at twft.com
Mon Jun 28 13:50:02 EDT 2010


put (fld 1 is a color and the number of items of fld 1 is 3 and not max(fld 1) > 255) into myIsRGB

This only works if all the items are numbers though, otherwise it generates an error. It could be used in a try/catch statement though. 

Bob


On Jun 26, 2010, at 2:43 AM, Mark Schonewille wrote:

> Hi Francis,
> 
> put (fld 1 is a color and the number of items of fld 1 is 3) into myIsRGB
> 
> --
> Best regards,
> 
> Mark Schonewille
> 
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/xtalkprogrammer
> 
> Subscribe to the Economy-x-Talk newsletter at http://qurl.tk/cj
> Download Clipboard Link http://clipboardlink.economy-x-talk.com and share the clipboard of your computer over the local network.
> 
> On 26 jun 2010, at 11:28, Francis Nugent Dixon wrote:
> 
>> Hi from Beautiful Brittany,
>> 
>> My rev coding has always been simple, though
>> certainly not efficient, and of course, I
>> can solve this little problem, but I have
>> great confidence in you guys out there to
>> give me a one-liner.
>> 
>> I have a field that I would like to check out.
>> It should contain any RGB value (like 255,100,099),
>> but it came though the clipboard, and so may
>> contain anything.
>> 
>> Can this check be done in one line ?
>> 
>> -Francis
>> 
>> "Nothing should ever be done for the first time !"
>> 
>> 
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list