Hi, The discussed code: f: func [f-arg] [ g: func [g-arg] [ print [g-arg f-arg global-word] ] g "This is g's argument." ] Gabriele: > >So when F is created > >the block: > > > > [ > > print [g-arg f-arg global-word] > > ] > > > >gets bound to F's context; more precisely, > >the word "f-arg" gets > >bound to F's context, while "print", "g-arg" and "global-word" > >aren't changed (so they're still bound to the global context). > Elan: > I think this is a conceptual problem. There is no g-arg defined in the > global context. Accordingly "g-arg" was never bound to the global context. > Therefore "g-arg" cannot "still" be bound to the global context. Here is a proof: >> global? probe first second fourth second :f g-arg == true Regards Ladislav
- [REBOL] Bug in 'use? Re:(4) bhandley
- [REBOL] Bug in 'use? Re:(5) rebol
- [REBOL] Bug in 'use? Re:(6) lmecir
- [REBOL] Bug in 'use? Re:(7) rebol
- [REBOL] Re: Bug in 'use? Re:(7) giesse
- [REBOL] Bug in 'use? Re:(9) rebol
- [REBOL] Re: Bug in 'use? Re:(9) giesse
- [REBOL] Bug in 'use? Re:(11) rebol
- [REBOL] Bug in 'use? Re:(12) lmecir
- [REBOL] Re: Bug in 'use? Re:(11) giesse
- [REBOL] Bug in 'use? Re:(12) lmecir
- [REBOL] Bug in 'use? Re:(12) lmecir
- [REBOL] Bug in 'use? Re:(9) carl
- [REBOL] Re: Bug in 'use? Re:(9) giesse
- [REBOL] Bug in 'use? Re:(11) lmecir
- [REBOL] Bug in 'use? Re:(11) larry
- [REBOL] Re: Bug in 'use? alex . pini
- [REBOL] Bug in 'use? Re:(2) rebol
- [REBOL] Re: Bug in 'use? Re:(2) alex . pini
- [REBOL] Bug in 'use? Re:(8) lmecir
- [REBOL] Bug in 'use? Re:(4) ole_f