Re: Namespaces and Wishlist
- Posted by Irv <irv at ELLIJAY.COM> Oct 24, 2000
- 470 views
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