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

[REBOL] Re: Newest Dillema.

From: edanaii:cox at: 7-Mar-2003 8:02

Joel Neely wrote:
>Hi, Ed, > >Let me suggest a different model that might help... >
Hey, I never said my "pointer" model was the right one, just that that's how I understood the "placement of the colon" to be. :)
>which takes any function as an argument and applies it to seven. In >that case, we must explicitly say that we don't want the value of the >word to be evaluated/applied (yet). Using a GET-WORD! instead of a >WORD! is the way we mention the function without using it. Therefore >this fails > > >> adjust7 square-root > ** Script Error: square-root expected value argument of type: number > ** Where: halt-view > ** Near: adjust7 square-root > >because REBOL is trying to APPLY the function, but this succeeds > > >> adjust7 :square-root > == 2.64575131106459 >
The net effect being:
>> Square-Root 7
>This way of looking at it (for me at least) seems to help keep things >straight without thinking about concepts (e.g. "pointers") that aren't >really part of REBOL. > >HTH! >
It helped. Thanks Joe. :) -- Sincerely, | I support the president. Martin Sheen should stick Ed Dana | to fantasy and let our elected officials deal with Software Developer | reality. If you agree, spread the word and visit: Oracle Tools Cons. | Citizens Against Celebrity Pundits, below. ========= ==========