[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: IDL interpreter questions - can someone (D.Fanning) explain - TIA
> On 18 May 2001, Craig Markwardt wrote:
> > <mankoff@I.HATE.SPAM.lasp.colorado.edu> writes:
> >> On Fri, 18 May 2001, JD Smith wrote:
> >>> dadada wrote:
> >>>> How are variables referenced by default?
> >>> I'm not sure what you mean here. Pointer references? They are explicit
> >>> only... i.e. you can't create a reference of an existing variable.
> >> Not sure either, but here is my interpretation of the question/answer:
> >> In functions, variables are *always* 'by value'
> >> In procedures, they are 'by value' unless you put a "return" statement
> >> anywhere in the procedure. If this exists, then they are passed 'by
> >> reference'
> > Sorry Ken I'm going to have to take you to task for a few things.
> > First of all, pass by value vs. pass by reference:
> > * all variables are passed by reference, *except*
> > * subscripted arrays, structure tags, and (I believe) system variables,
> > which are passed by value
> > It doesn't make a difference whether you have a return statement or
> > not.
> Hi JD,
> No need to apologize for a correction. But i have some questions about
> this that maybe you can answer.
I plead the 5th. Craig, I believe, was the taskmaster. I *never* take
anyone to task <sarcasmicon>.