Q: pdd21 relative vs absolute

2006-01-25 Thread Leopold Toetsch
A bunch of namespace opcodes and methods could work absolute or relative. E.g. $P0 = get_namespace [Foo; Bar] Where should the lookup start? Is this to be considered absolute (from namespace root), absolute from the current HLL setting, or relative from the current namespace? Thanks, leo

Re: Q: pdd21 relative vs absolute

2006-01-25 Thread Joshua Isom
Having it be absolute makes more sense to me, but there likely will be people who want relative. Maybe something like: $P0 = get_namespace[;Foo;Bar] Where the empty part mean current namespace here. Of course, then it'd be really confusing because it's the opposite of pathnames on

Re: Q: pdd21 relative vs absolute

2006-01-25 Thread Matt Diephouse
Leopold Toetsch [EMAIL PROTECTED] wrote: A bunch of namespace opcodes and methods could work absolute or relative. E.g. $P0 = get_namespace [Foo; Bar] Where should the lookup start? Absolute. If people want relative lookups, I'd consider adding another opcode: $P1 = get_namespace #