Lists in Transcript

Dar Scott dsc at swcp.com
Mon May 23 17:56:56 EDT 2005


On May 23, 2005, at 3:45 PM, Andre Garzia wrote:

> I have a silly function here that uses a paramcount() loop and put the 
> param()s into a CR delim list.

Excellent example of paramCount() and param()!

Anybody know which is faster ?

   delete char -1 of t
   return t

or

   return char 1 to -2 of t

I think the first is slightly clearer, especially since the delete line 
conceptually goes with the loop before it.

Dar




More information about the use-livecode mailing list