gettingstarted
[Top] [All Lists]

Re: wrap and array

To: gettingstarted at lists dot realsoftware dot com
Subject: Re: wrap and array
From: GAmoore at aol dot com
Date: Tue, 24 May 2005 01:32:37 EDT
Delivered-to: gettingstarted at lists dot realsoftware dot com
 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>

<Prev in Thread] Current Thread [Next in Thread>