> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 27, 2003 11:33 AM
> To: [EMAIL PROTECTED]
> Subject: [REBOL] Re: [encompass.r]
> 
> 
> 
> Max:
> 
> > Anyone... What is the best way for a function to detect if 
> it is part of an 
> > object?
> 
> One way would be to check if 'self is defined.


I though of that, but it is very possible that someone will use self in the global 
context. even checking if its type is object! isn't completely safe...

isn't there a way to probe the current context, one which works whether we are in an 
object or the global namespace ?

I might add a /bind refinement which forces a bind of the created function block to an 
object.  When used, It would implicitly make /revert function differently than when 
defined 'globally'.


As I don't need this functionality right now, I'll put it on the back burner, but if 
any one DOES need it, I'll raise the priority.

I'm pushing slim as the only code I write on right now... so everything else is 
secondary.

I want to start working on STEEL|FORGE SOOOOOO badly.

I might start working on a Q&D forge prototype (a closed rebol-coding exclusive 
toolset with no api) to bootstrap the real application and improve liquid-vid coding 
speed.


cheers!

-MAx
-------------
Steel project coordinator
http://www.rebol.it/~steel
------------- 

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.

Reply via email to