Re: Namespaces and Wishlist

new topic     » goto parent     » topic index » view thread      » older message » newer message

On Tue, 24 Oct 2000, Bernie wrote:
> --
>    David:
>
>    Couldn't you just have a hidden internal pointer that is
>    added to each routine when the namespace for that routine is declared.
>    Then you could use the same name for a routine and the interpeter
>    would look at this hidden internal pointer and know which routine
>    to call thus eliminating any prefix.

I am confused: Suppose I have two files to include:  one defines points, the
other sprites.... both have coordinates x and y, and a function named draw()

How would I access the points x  and the sprites.x, or the correct draw(),
without some kind of prefix?

Irv

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu