Re: [F-Script-talk] Can I get access to the current block?
Brought to you by:
pmougin
From: Victor N. <vic...@ho...> - 2006-09-15 08:26:59
|
Eric Hochmeister wrote: >Block responds to return and return:. Is it possible while in a block to >get access to the current block? > >ie. > >[ sys log:'hello'. <ref to current block> return. sys log:'bye'. ] value. > >So far I've only been able to figure it out if I bind the block to a >variable. > >b := [ sys log:'hello'. b return. sys log:'bye'. ]. >b value. > >Is this functionality exposed to us? No. AFAIK, binding the block to a variable, like you did, is the way to go for creating a block that refers to itself. It works well for me. Are you in a situation where it doesn't work? Vic _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ |