search for: subfunc3_

Displaying 1 result from an estimated 1 matches for "subfunc3_".

Did you mean: subfunc3a
2002 Sep 04
3
strange things with eval and parent frames
...ion says it should. But I think more fundamentally odd things are happening, as per below. Note BTW that this is NOT a classical scoping problem. Exactly the same things happen if I define subfunc1 etc. outside the body of test.parent.funcs. Second example: > test.parent.funcs2_ function() { subfunc3_ function() sys.call( -1) x_ subfunc3(); print( x) subfunc3a_ function() eval( quote( sys.call()), parent.frame()) x_ subfunc3a(); print( x) subfunc3b_ function() evalq( sys.call(), parent.frame()) x_ subfunc3b(); print( x) } > test.parent.funcs2() test.parent.funcs2() eval(expr,...