Re: DEF-USE

Nathan J. Strange ([email protected])
Fri, 2 Jun 95 19:06:37 EST


>
> Nathan,
>
> >
> >USE {name "url"} BOB
> >
>
> Is something like this currently illegal? Looking at the semantic of USE,
> its as though it should be able to do that. If you can't DEF a URL or a
> whole file (maybe the DEF belongs at the top of the (.wrl) file instead of
> before calling it. Earlier I made a suggestion to this effect, something
> like this:

Yes, you can currently do:

DEF BOB WWWInline {name "url"}
USE BOB

But I was thinking that if you wanted to span files...

Whatever BOB was last declared as wins. And I propose that if you
go to another file you could keep all your old definitions.. but if
you do that how do you say: "I want to use BOB, here's the definition
if you don't already know what it is, or if your browser chucked the
definition because too many things were defined"

Of course I could always redefine BOB each time I wanted to use it....
But I figured it would be nicer (and save bandwidth) if I could
somehow say only redefine bob If you don't know what BOB is...
Which is what I meant USE {name "url"} Bob to do...