RE: [REBOL] Re: FAQ: How to return a block with evaluated value ? Hi Patrick
[EMAIL PROTECTED] wrote: > > Hi volker > > That's a cool idea. I had something similar in mind. However rebol is > consuming a good part of my available time. This part cannot grow at this > time of the year. So I think we'll have to wait 'til 2002. > > Note : I'm so addicted to rebol ! is it the same for everybody ? It's > amazing how much I enjoy trying some stuff on the console just for the fun > of it. Addicted I said ! > ---addicted to rebol? if i read this list and its postings on http://www.osnews.com/story.php?news_id=199 , i think yes :) ---trying stuff? Hey! may i suggest you copy your discoveries in a safe place to have it as a base for the riddles? later, more experienced, its sooo hard to remember the good newbie-questions ;-) having a large file of "somehow this was interesting" - snippets could come in handy then :) > Patrick > -Volker > > ----- Original Message ----- > From: <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, December 13, 2001 12:07 PM > Subject: [REBOL] Re: FAQ: How to return a block with evaluated value ? > > > > RE: [REBOL] FAQ: How to return a block with evaluated value ? > > > > Hi Pat > > > > this style remembers me to this "tip of the day" - stuff. > > how about having something like that, > > a window showing a random hint of some basic stuff? > > > > we could even make it a "riddle of the day", > > hiding the anwer first, and giving the user kind of > > console to eperiment? > > > > hmm, even a cgi comes to mind where peoples can post their > > riddles and download the actual collection. > > just thinking.. > > > > -Volker > > > > [EMAIL PROTECTED] wrote: > > > > > > > > > Hi, all > > > > > > Is it OK if I post some short Q&A about Rebol to the list for validation > ? > > > Here is an example. I have one more to come. I will continue depending > on the feed back I will get. > > > > > > How to return a block with evaluated value ? > > > > > > Short answer: > > > > > > Using compose. > > > > > > Problem illustration : > > > > > > >> b: func [n][return [n n]] > > > >> b 3 > > > == [n n] > > > > > > The result of b 3 is [n n] where one obviously expects [3 3]. > > > > > > Problem resolution : > > > > > > >> new-b: func [n][return compose [(n) (n)]] > > > >> new-b 3 > > > == [3 3] > > > > > > Compose forces the evaluation of the parens (n). > > > > > > > > > > -Volker > > -- > > To unsubscribe from this list, please send an email to > > [EMAIL PROTECTED] with "unsubscribe" in the > > subject, without the quotes. > > > > > ______________________________________________________________________________ > ifrance.com, l'email gratuit le plus complet de l'Internet ! > vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP... > http://www.ifrance.com/_reloc/email.emailif > > > -- > To unsubscribe from this list, please send an email to > [EMAIL PROTECTED] with "unsubscribe" in the > subject, without the quotes. > -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
