identifying variables - yep, that'll do it.

Dar Scott dsc at swcp.com
Wed May 14 16:54:01 CDT 2003


On Wednesday, May 14, 2003, at 03:05 PM, Barry Levine wrote:

> I tried the following in the Message box:
>
> put "27x","31y","3c" into tempStuff
> sort items of tempStuff descending numeric
> put tempStuff
>
> The result was:   31y,27x,3c
>
> So it seems that even 2-digit numbers are recognized properly in this 
> sort.
>
> *whew* What a relief!

Cool!

You mentioned the sortType "numeric" in your example and yet I didn't 
catch on that I had missed the sortType in the command parameters in 
the TD.  I guess I was assuming that sort comparison was the same as 
"<" or something.  I learned something.

Thanks for the feedback.

Dar Scott




More information about the use-livecode mailing list