Re: DEF-USE

Chris Marrin ([email protected])
Fri, 2 Jun 1995 18:14:11 -0700


> Yes, you can currently do:
>
> DEF BOB WWWInline {name "url"}
> USE BOB

I just wanted to clear something up. I get the impression in several of
the posts here that there is a belief the above syntax will result in a
single instance of the object BOB in the scene graph. This is not true.
There will be two. Unlike a programming language, where you define a
variable, then use it later in a function, DEF actually names an object
AND inserts it into a scene graph at the point of definition.

I just want to clear up any potential confusion.

-- 
chris marrin      Silicon      http://www.sgi.com/Products/WebFORCE/WebSpace
(415) 390-5367    Graphics     http://reality.sgi.com/employees/cmarrin/
[email protected]   Inc.         
         "As a general rule, don't solve puzzles that open portals to Hell."