problem with counting words
    Jerry Jensen 
    jhj at jhj.com
       
    Wed Oct 15 23:05:38 EDT 2014
    
    
  
On Oct 15, 2014, at 7:18 PM, Peter M. Brigham <pmbrig at gmail.com> wrote:
> On Oct 14, 2014, at 3:45 PM, Richard Gaskin wrote:
> 
>> function nDepth
>>  get param(1)
>>  repeat with i = 2 to paramCount() step 2
>>     set the itemDel to param(i+1)
>>     get item param(i) of it
>>  end repeat
>>  return it
>> end nDepth
> 
> Another one to add to my collection. Thanks, Richard!
+1
I don't think I ever knew about the param() function. That can be handy!
.Jerry
    
    
More information about the use-livecode
mailing list