[REBOL] Re: async interface

2004-03-11 Thread Romano Paolo Tenca
Hi Gabriele, > RPT> dns-failure > RPT> connect-failure > > Why not using only one function for all errors? I do not like to handle errors in rebol. I must disarm the error, check the right field, know what code/type/id/arg I must find to understand what kind of error is. Some errors are

[REBOL] Re: Windows messages between a C++ program, and a Rebol Pro program

2004-03-11 Thread Brett Handley
Hi, > I've search in the web for exemple, but Rebol with API isn't so used... > And I feel that, there is type problems, but I don't find. I have a sample of a REBOL program that broadcasts a message to prevent multiple instances running. It is only an example, I haven't used it in a REBOL appli

[REBOL] Re: Can browse be made to work with Linux?

2004-03-11 Thread Carl Read
On 10-Mar-04, Juan-carlos MIRANDA wrote: > Two solutions : > - if set-browser-path is available in your vm version, call it with > your mozilla path > - if not, try (as root) to make the following manipulation : ln -sf > /mozilla /usr/bin/netscape >this works as rebol is looking for netscape

[REBOL] Re: Rebol View Distributed Desktop?

2004-03-11 Thread Izkata
> Isn't it easier to just download the source? > > http://www.rebol.com/downloads/viewtop1200.zip Certainly. Except I didn't know that that existed... =^þ -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.

[REBOL] Re: error? try load bad-path

2004-03-11 Thread Carl Read
On 12-Mar-04, [EMAIL PROTECTED] wrote: > I have a situation where I'm converting a > string to a path and loading it, in some > situations this string can be a bad path, I > want to catch that, so I put in this > patherr: error? try[load pass] > either patherr = true[ > > ] [ > passleve

[REBOL] error? try load bad-path

2004-03-11 Thread bry
I have a situation where I'm converting a string to a path and loading it, in some situations this string can be a bad path, I want to catch that, so I put in this patherr: error? try[load pass] either patherr = true[ ] [ passlevel: load pass passlevel: to-integer passlevel ] unf

[REBOL] Re: Windows messages between a C++ program, and a Rebol Pro program

2004-03-11 Thread Gregg Irwin
Hi Charles, Your declares all look OK to me, based on a quick scan. If you're trying to *receive* a Windows message--that's my guess, based on the 'switch statement in the C++ example--you'll need to use the system port in REBOL. It doesn't work with View windows yet, only the console unfortunate

[REBOL] [algo] Intervals and parsing

2004-03-11 Thread Didec
[algo] Intervals and parsing Hi all, For one of my apps, I have to manage a very long list of integer! I need to know if an integer! is in the list, and i need to add it to the list. To avoid an infinite block of integer! that will overflow the memory for nothing, and considering the fact that m

[REBOL] Re: (x)emacs inferior mode

2004-03-11 Thread Tim Johnson
* Volker Nitsch <[EMAIL PROTECTED]> [040310 12:34]: > > Hi Tim, Hi Volker; > Am Montag, 8. März 2004 00:01 schrieben Sie: > > I am interested in your inferior mode. That is executing a rebol-block in the > interpreter? (what means OTL? "on" or"off list"?) Yes. OTL = 'off list', unless

[REBOL] Re: Rebol View Distributed Desktop?

2004-03-11 Thread Gabriele Santilli
Hi Anton, On Wednesday, March 10, 2004, 2:46:36 PM, you wrote: AR> If you start directly in console, then this AR> also should give you the code in reasonable time: AR> write clipboard:// mold context ctx-viewtop Isn't it easier to just download the source? http://www.rebol.com/downloads/

[REBOL] Windows messages between a C++ program, and a Rebol Pro program

2004-03-11 Thread Charles MOUGEL
Hi! (I'm french, sorry for poor english) I have to send messages between 2 programs. One is written in C++ (I'm not the author, but I work with him) And the other in Rebol (It's my program, I can do what I want). I have the SDK, and I call windows API. Here is the C++ code that I have to write

[REBOL] Re: async interface

2004-03-11 Thread Gabriele Santilli
Hi Romano, On Tuesday, March 9, 2004, 7:31:35 PM, you wrote: RPT> dns-failure RPT> connect-failure Why not using only one function for all errors? And, I think the connect event is useful, as you may want to start sending data when the connection is established and not before (imag

[REBOL] Re: Browse function

2004-03-11 Thread Gregg Irwin
Hi Philippe, llff> browse and browse/only have the same behavior. I think this is a known bug, but I don't recall very seeing a work-around posted for it. Sorry. -- Gregg -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the

[REBOL] Browse function

2004-03-11 Thread lp . legoff
Hi list, I need some help for the following question with browse function : script : --- browse "http://www.google.com"; wait 00:00:10 browse "http://www.search.com"; wait 00:00:10 browse "http://www.altavista.com"; wait 00:00:10 ...etc --- I would like to open

[REBOL] Re: The REBOL async:// tutorial - take 1

2004-03-11 Thread Coussement Christophe
Hi Maarten, It's all clear now ;) Thanks ! ==christophe > > > The specific example you try is a client that connects to a > webserver to > fetch the image. If you have no webserver running (no valid > url...): no > image! > > async:// is just like tcp:// , but now with calllbacks instead

[REBOL] Re: The REBOL async:// tutorial - take 1

2004-03-11 Thread Maarten Koopmans
The specific example you try is a client that connects to a webserver to fetch the image. If you have no webserver running (no valid url...): no image! async:// is just like tcp:// , but now with calllbacks instead of waiting yourself. Does this help you? --Maarten Coussement Christophe wrot

[REBOL] Re: The REBOL async:// tutorial - take 1

2004-03-11 Thread Coussement Christophe
Hi Maarten and Will Sorry for this late answer: I was out of office for a while... Thanks for helping me ! > >I tried the following, but without any result. I try to load > a %logo.jpg file situated in the same dir as %async-protocol, > and try to connect to localhost. What did I wrong? > > >