repeat with i=

Pete pete at mollysrevenge.com
Thu Jul 14 01:27:13 EDT 2011


Great, learned two things form this - delete and any!
Pete
Molly's Revenge <http://www.mollysrevenge.com>




On Wed, Jul 13, 2011 at 9:58 PM, J. Landman Gay <jacque at hyperactivesw.com>wrote:

> On 7/13/11 11:33 PM, Pete wrote:
>
>> You're right, should probably be something like "replace y&  comma with
>> empty in x".
>>
>
> Plain old "delete" does it.
>
> Also, not everyone knows about the "any" keyword but it's really handy for
> lines like this:
>
>  put item random(the number of items in x) of x into y
>
> Which is more readable as:
>
>  put any item of x into y
>
> I'm very fond of "any".
>
> --
> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
> HyperActive Software           |     http://www.hyperactivesw.com
>
>
> ______________________________**_________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/**mailman/listinfo/use-livecode<http://lists.runrev.com/mailman/listinfo/use-livecode>
>
>



More information about the use-livecode mailing list