[REBOL] Re: the utility of 'bind

2004-01-21 Thread Karl Robillard
You can use bind to execute functions in a protected context. I have done this in a compiler for a game scripting language. I could have implemented the compiler with parse, but then I could not make use of Rebol constructs within my custom game dialect. By making the game commands normal fu

[REBOL] Re: HELP! read pop:// from DSL mailer fails

2004-01-21 Thread Evan Hawkins
-Original Message- From: Philip Bevan <[EMAIL PROTECTED]> Sent: Jan 21, 2004 5:13 PM To: [EMAIL PROTECTED] Subject: [REBOL] HELP! read pop:// from DSL mailer fails Hi Philip My previous POP mail server was at earthlink on a dialup account. My new service is a DSL account with Verizon. M

[REBOL] Re: the utility of 'bind

2004-01-21 Thread Anton Rolls
> context [ > validate: func [word [block! word!] /local item][ > either block! = type? word [ either block? word [ is equivalent. > -Max Anton. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.

[REBOL] HELP! read pop:// from DSL mailer fails

2004-01-21 Thread Philip Bevan
Hi Evan, Strange Are you still using the same mail server? i.e. Is verizon.net your mail server? Does your account name contain an @ symbol? (Rebol doesnt like email names of the form [EMAIL PROTECTED]@somewhere.net) Cheers Phil > > === Original Message === > > > Hello > can anyone he

[REBOL] HELP! read pop:// from DSL mailer fails

2004-01-21 Thread Evan Hawkins
Hello can anyone help -- I recently changed from a dial up to DSL for network connection. The READ and SEND no longer function. My Microsoft Outlook still work fine -- I noticed that I was required to set the options "outgoing the same as incoming" (I think this is the problem that REBOL has wi

[REBOL] Re: the utility of 'bind

2004-01-21 Thread Maxim Olivier-Adlhoch
> -Original Message- > From: Tim Johnson [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 21, 2004 5:34 PM > To: [EMAIL PROTECTED] > Subject: [REBOL] Re: the utility of 'bind > And I find that seeing how different languages handle things > helps *me* alot. I wrote a 'first functio

[REBOL] Re: the utility of 'bind

2004-01-21 Thread Tim Johnson
* Maxim Olivier-Adlhoch <[EMAIL PROTECTED]> [040121 13:17]: > > > > --- Tim Johnson wrote: --- > > > ; untested code! > > context.[ > > validate: func[args[block!] /local keywords][ > > keywords: self/__dict__ > > foreach [arg value] args[ > > if not fi

[REBOL] Re: the utility of 'bind

2004-01-21 Thread Maxim Olivier-Adlhoch
> --- Tim Johnson wrote: --- > ; untested code! > context.[ > validate: func[args[block!] /local keywords][ > keywords: self/__dict__ > foreach [arg value] args[ > if not find keywords arg[ > throw-an-error > ] >

[REBOL] Re: the utility of 'bind

2004-01-21 Thread Gregg Irwin
Hi Andreas, AB> What is the utility of 'bind? No, I don't necessarily mean the typical AB> cases where bind is needed to prevent errors. What I'm really thinking AB> about are situations, where REBOL's behaviour regarding contexts and AB> bind is actually contributing towards an elegant solution

[REBOL] Re: key events... hacking...

2004-01-21 Thread Maxim Olivier-Adlhoch
thanks! this works for me. but I noticed I have to patch in-window? cause there is a bug in it (v1.2.10)! if you source the code, you will notice that the last call to in-window is incorrectly typed as in-window instead of in-window? here is fixed version... for those who are listening: i

[REBOL] Re: the utility of 'bind

2004-01-21 Thread Volker Nitsch
Am Mittwoch 21 Januar 2004 18:41 schrieb Andreas Bolka: > I will spare you my thoughts about REBOL's contexts and 'bind (for > now) but I have a practical question: > > What is the utility of 'bind? No, I don't necessarily mean the typical > cases where bind is needed to prevent errors. What I'm r

[REBOL] Re: the utility of 'bind

2004-01-21 Thread Tim Johnson
* Andreas Bolka <[EMAIL PROTECTED]> [040121 09:06]: > > > I will spare you my thoughts about REBOL's contexts and 'bind (for > now) but I have a practical question: > > What is the utility of 'bind? No, I don't necessarily mean the typical > cases where bind is needed to prevent errors. What I'

[REBOL] Re: problems with 'read

2004-01-21 Thread reboler
Thanks Sunanda and Gabriele!! It worked!! Best Regards, --DJ > > DJ: > > > Well, I think the problem has to be with cookies.. be cause if you try to > > read the same url using IExplorer.. it does handle t he job.. > > Not quite, but even more annoying -- they are checking the name of the

[REBOL] Re: the utility of 'bind

2004-01-21 Thread Maxim Olivier-Adlhoch
I used it in the glass ui dialect. The easiest example was to contextualise action blocks to any face's actual object. If bind is not used then the action block will be run as if it where in the global namespace. This keeps you from using face/ all the time. -MAx --- "You can either be part

[REBOL] Re: the utility of 'bind

2004-01-21 Thread Ladislav Mecir
Andreas Bolka napsal(a): >I will spare you my thoughts about REBOL's contexts and 'bind (for >now) but I have a practical question: > >What is the utility of 'bind? No, I don't necessarily mean the typical >cases where bind is needed to prevent errors. What I'm really thinking >about are situatio

[REBOL] the utility of 'bind

2004-01-21 Thread Andreas Bolka
I will spare you my thoughts about REBOL's contexts and 'bind (for now) but I have a practical question: What is the utility of 'bind? No, I don't necessarily mean the typical cases where bind is needed to prevent errors. What I'm really thinking about are situations, where REBOL's behaviour reg

[REBOL] Re: problems with 'read

2004-01-21 Thread Jason Cunliffe
> Try this: > system/schemes/http/user-agent: "Mozilla/4.0 (compatible; MSIE 5.5; Windows > NT 5.0)" > > print read > http://www.scirus.com/srsapp/search?q=metadata&cn=all&t=all&co=AND&q=&cn=all&t=all&fdt=1930&tdt=2005&dt=all&ff=a > ll&ds=sd&sa=all&g=a > That user-agent name is a common way IE i

[REBOL] Re: problems with 'read

2004-01-21 Thread SunandaDH
DJ: > Well, I think the problem has to be with cookies.. because if you try to > read the same url using IExplorer.. it does handle the job.. Not quite, but even more annoying -- they are checking the name of the browser and ignoring anything that isn't IE. It won't work with Opera or Mozilla

[REBOL] problems with 'read

2004-01-21 Thread Reboler
Hi Folks!, Sorry to disturb you again.. But does anybody know how to read this url? {http://www.scirus.com/srsapp/search?q=metadata&cn=all&t=all&co=AND&q=&cn=al l&t=all&fdt=1930&tdt=2005&dt=all&ff=all&ds=sd&sa=all&g=a} Well, I think the problem has to be with cookies.. because if you try to re

[REBOL] Re: key events... hacking...

2004-01-21 Thread Gabriele Santilli
Hi Maxim, On Wednesday, January 21, 2004, 12:23:35 AM, you wrote: MOA> Is anyone capable of getting keyboard events for faces MOA> which are not "focused", short of rewriting the whole event MOA> handler? This is a modified window feel I use in some applications; it allows to focus any fac

[REBOL] Re: Document Object Model for REBOL

2004-01-21 Thread A J Martin
Christophe wrote: > We need a set of XML-access functions to produce, view, edit complex XML-documents from our project and from external sources. > > Did any one already implement a working set of functions for XML access ? Based on http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001 ? > Or other

[REBOL] Re: Document Object Model for REBOL

2004-01-21 Thread A J Martin
Mike wrote" > * I needed more examples of how to use [ML] than are in the base script. Give me an idea of what you want and I'll show you how to use it. :) -- Andrew J Martin ICQ: 26227169 http://www.rebol.it/Valley/ http://valley.orcon.net.nz/ http://Valley.150m.com/ -><- -- To unsubscribe f