On May 1, 5:05 pm, Duke Normandin <dukeofp...@[EMAIL PROTECTED]
> wrote:
> On 2008-05-01, Rilian <no...@[EMAIL PROTECTED]
> wrote:
>
>
>
> > ****d references are bad - **** variables are encouraged.
>
> > Figure that one out. 8^)
>
> > Duke Normandin <dukeofp...@[EMAIL PROTECTED]
> wrote in news:lFaSj.3318$PM5.2947
> > @[EMAIL PROTECTED]
>
> >> Thanks for the great explanation! What is _your opinion_ of
> >> "****d references" -- if you dare to go there. ;)
>
> You've _got_ to be sh....ing me!!
> --
> Duke Normandin
He is....a little.
Here's a quick explainer:
SET ^Cars("pickup",1)="Tundra" --- * Full global reference *
SET ^(2)="Rabbit" --- * ****d global reference *
SET ^(3)="ChevyS10" --- * Assume subscript level 2 *
SET ^(3,1)="ChevyS104liter" --- * Go to subscript level 3 *
SET ^(2)="ChevyS106liter" --- * Assume subscript level 3 *
So a ****d global reference is one where the fully qualified global
name "^Cars("pickup"," is implied and can be called with just the
caret and the subscript number. You can see how ****d global
references are unnessecarily confusing because they don't "spell it
out" for the person reading the code. You've got to pick back through
in order to see what you're referencing and it drives me nuts.
Also, PG = Peanut Gallery = US. Or should I say THEM. I usually just
lurk here....


|