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
-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
> 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.
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
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
> -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
* 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
> --- 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
> ]
>
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
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
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
* 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'
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
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
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
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
> 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
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
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
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
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
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
22 matches
Mail list logo