Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

"Overloading" Rebol functions: Need advice

 [1/3] from: tim:johnsons-web at: 8-Aug-2001 17:08


I have in the past tried hard to avoid using rebol function words in objects: Stack overflow is the least of my worries, 'cuz it is so obvious. I'm worried about the not-so-obvious "gotchas". for instance 'input is such an obvious choice for a "hand-rolled" cgi object that creates an input form. Using it, however "overloads" the the mezzanine 'input. In another case, I'd like to use the following refinements to a user-define function next last first back Any caveats with any case? TIA -- Tim Johnson <[tim--johnsons-web--com]> http://www.johnsons-web.com

 [2/3] from: ryanc:iesco-dms at: 8-Aug-2001 18:56


Works fine for me. I consider it one of the more powerful aspects of REBOL, and it seems it was made to do it very effectively. Just to set you on to the right direction... dont think of 'input as being overloaded, just in a different context, which may have a different meaning--or not. --Ryan Tim Johnson wrote:
> I have in the past tried hard to avoid using rebol function words in > objects:
<<quoted lines omitted: 18>>
> [rebol-request--rebol--com] with "unsubscribe" in the > subject, without the quotes.
-- Ryan Cole Programmer Analyst www.iesco-dms.com 707-468-5400

 [3/3] from: tim::johnsons-web::com at: 8-Aug-2001 19:44


On Wed, Aug 08, 2001 at 06:56:51PM -0700, Ryan Cole wrote:
> Works fine for me. I consider it one of the more powerful aspects of > REBOL, and it seems it was made to do it very effectively. > > Just to set you on to the right direction... dont think of 'input as > being overloaded, just in a different context, which may have a > different meaning--or not.
Yup, I get yer drift...... I'll consider your opinion good advice. thnx tj

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted