Call to all you one-liners !

J. Landman Gay jacque at
Sat Jun 26 13:36:23 EDT 2010

J. Landman Gay wrote:
> Mark Schonewille wrote:
>> Hi Francis,
>> put (fld 1 is a color and the number of items of fld 1 is 3) into myIsRGB
> As mentioned, this is okay for a quick check but isn't very reliable in 
> general. "Is a color" seems to return true for any comma-delimited list 
> of integers, regardless of whether the numbers are within a valid color 
> range.

I meant to add: it could be a quick way to check for any valid list of 
item-delimited integers though. It's sort of a non-intuitive approach, 
but faster than iterating through the list looking for non-integer entries.

Jacqueline Landman Gay         |     jacque at
HyperActive Software           |

More information about the Use-livecode mailing list