Thanks Charles. I appreciate that example. See questions below.
> Sub Append(theEmployee as EmployeeClass)
> //you can append a nil EmployeeClass object, but do you want to?
> me.pList.Append theEmployee
> End Sub
>
Does your comment mean that you should have something like this:
if theEmployee <> nil then me.pList.Append theEmployee
>
> Sub Insert(theEmployee as EmployeeClass, index as Integer)
> me.pList.Insert index, theEmployee
> End Sub
>
This insert method seems to be calling itself and not really doing anything
else, unless its using a built-in insert method.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|