Erik Phalet <[EMAIL PROTECTED]> wrote:

> If I put a breakpoint on the line "return propertyList", I see what is
> happening, but how can I pass my return value through this stack ?

Hi Erik,

You're almost there:

on createList oldList, newList
  if not ilk(newList,#list) then
    newList = []
  end if

  if oldList.count > 0 then
    newList.add(oldList[1])
    oldList.deleteAt(1)
    propertyList = createList(oldList, newList) -- <= propertyList = ...

  else
    propertyList = [#propName: newlist]
  end if
  
  return propertyList
end

Cheers,

James

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to