[REBOL] Re: Depth first search

2001-12-04 Thread Ammon Johnson
No, Litteral Words are to reference the word itself, not the data the word points to. Try this at the console: big-block: ["lots of data"] print big-block print 'big-block HTH Ammon - Original Message - From: "Christopher Dicely" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tues

[REBOL] Re: Depth first search

2001-12-04 Thread Christopher Dicely
I'm pretty much a newbie, but can't you pass a reference using a literal word? I.e., instead of big-block: [ lots of data ] some-random-function big-block do something like: big-block: [ lots of data ] some-random-function 'big-block Chris Dicely --- Nate Haggard <[EMAIL PROTECTED]> wrote:

[REBOL] Re: Function Context Query

2001-12-04 Thread Larry Palmiter
Hi Romano, I think we are in good agreement on the mechanics. > This is the "strange" (but useful) thing which happens in function body (and > not in use or object body): at the start of the execution of function body all > the context values are set to none or to the value of args (true for > r

[REBOL] Re: Depth first search

2001-12-04 Thread Nate Haggard
Here is my faulty script: I think the problem lies in the line that says: append _LINKS LinkCrawler (depth - 1) getlinks url _LINKS Nate REBOL [ Title: "Web Page Crawler" File: %weblinks.r Date: "Nov. 15, 2001" Purpose: "Make an index of words for a group of interlinked htm

[REBOL] Re: Elegant way to reference a function?

2001-12-04 Thread Christopher Dicely
--- Patrick Philipot <[EMAIL PROTECTED]> wrote: > To be more practical, if I have a button like this > on a window. > > > button "show me" [display] > > I want the function display to be : > - a simple test function when debuging or > - a function that shows a photo or > - a function that dis

[REBOL] Re: Function Context Query

2001-12-04 Thread Romano Paolo Tenca
Hi, Larry > 1) load time > The word 'a' in the body block [a] of the function definition has been bound > to the global context before the function FUNC is executed, at this time it > will be associated with the value "hello". Yes, but this is true for everything which is loaded. It depends only

[REBOL] Re: ANN: make-doc-pro 1.0.1

2001-12-04 Thread Jason Cunliffe
"Robert M. Muench" <[EMAIL PROTECTED]> wrote: > Hi, I finally made it and can tell you that make-doc-pro version 1.0.1 has been > released. This is quite a step from the previous version, at least concerning > the internals. Sounds like solid progress on all fronts. Thank you very much! ./Jaso

[REBOL] ANN: make-doc-pro 1.0.1

2001-12-04 Thread Robert M. Muench
Hi, I finally made it and can tell you that make-doc-pro version 1.0.1 has been released. This is quite a step from the previous version, at least concerning the internals. As I'm including some of my generic functions, I now used Carl's build-pack.r script to create a distribution. Well, make-do

[REBOL] Re: GUI Mail Client

2001-12-04 Thread Gregg Irwin
Hi Jon, You might also check out the Yahoo RebMail group. We've all kind of lost focus since September but, as you say, it looks like lots of folks are working on mail clients. --Gregg -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subje

[REBOL] Re: Elegant way to reference a function?

2001-12-04 Thread Gregg Irwin
Excellent post Joel! I've been searching for an analogy to wrap my poor brain around so I can visualize these things. If nobody (RT or otherwise) says it's incorrect, I'm going to use your dictionary analogy. Thanks! --Gregg -- To unsubscribe from this list, please send an email to [EMAIL PRO

[REBOL] Re: Function Context Query

2001-12-04 Thread Gregg Irwin
Hi Romano, et al << Mine is only an idea, i'm not sure this is the true reason, but a none value can be used directly in expression like: if ref [...] either ref [][] An unset value would generate an error in these cases. >> That's exactly what I was thinking. I have no clue about the inner

[REBOL] Re: Function Context Query

2001-12-04 Thread Larry Palmiter
Hi Mark, Joel, Just a couple of quick comments. The situation with function contexts is a bit confusing. I believe there are 3 stages involved. We can call them "load time", "function creation time", and "function application time". Consider the following: >> a: "hello" == "hello" >> g: func [/

[REBOL] Re: Elegant way to reference a function?

2001-12-04 Thread pat665
Hi Joel Thank you for this valuable information. I printed it and I am going to read it again and experiment with it ASAP. The good spirit and the high level of this rebol-list amazes me every day ! Patrick - Original Message - From: "Joel Neely" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED

[REBOL] GUI Mail Client

2001-12-04 Thread Jon Saltzman
Hi all! As I seem to be hearing a lot about people working on mail clients these past two days, I thought I'd reassure myself that I'm not trying to duplicate work done by others.. I have a pretty functional GUI mail client in the works, it's about 65% completed, and I just want to see if an

[REBOL] Depth first search

2001-12-04 Thread Nate Haggard
I am trying to make a web crawler that traverses the links of a site up to a depth of 3. First a block of data is created that contains all the pages to visit with duplicates eliminated. When I run this program on my RedHat linux 7.2 box it starts out fine, then slows to a crawl, and starts u

[REBOL] Re: Function Context Query

2001-12-04 Thread Romano Paolo Tenca
Hi Mark, > surely it would be just as easy to test whether local words or refinements are set, ie with the function Unset? as >opposed to none?. Mine is only an idea, i'm not sure this is the true reason, but a none value can be used directly in expression like: if ref [...] either ref [][]

[REBOL] Re: Function Context Query

2001-12-04 Thread Robbo1Mark
Hi Romano, surely it would be just as easy to test whether local words or refinements are set, ie with the function Unset? as opposed to none?. Iam not particularly bothered by this now that I know about it, it was just the oddity & inexplicable difference about it that initially concerned me.

[REBOL] Re: reboLDAP (LDAP for rebol)

2001-12-04 Thread Deryk Robosson
> More info added this morning at http://vvn.net/reboldap/ > Deryk - where can we find rebauthd ? > or more about your work with pam_ldap/nss_ldap ? You can't unfortunately. It was a custom written application for a client. pam_ldap/nss_ldap information though can be had at www.padl.com. Ano

[REBOL] Re: Elegant way to reference a function?

2001-12-04 Thread Joel Neely
Hi, Patrick, pat665 wrote: > > Hi Chaz, > > I did not know what a context was so I went for the doc. It > reads "This is a shortcut for MAKE OBJECT!. ". So a context > is an other name for an object. I'm afraid I don't understand > how it will help me. Do you have more on this ? > Unfortunate

[REBOL] Re: catching the error with 'import-email?

2001-12-04 Thread Petr Krenzelok
Well, the problem is - I don't want to store message as-is for post-processing purposes. My email never reaches its mailbox. I want to handle it directly upon its delivery. I found the problem - it is first line "FROM " string, which causes problem to 'import-email I solved it by followin

[REBOL] Re: catching the error with 'import-email?

2001-12-04 Thread Ingo Hohmann
Hi Petr, Once upon a time Petr Krenzelok spoketh thus: <..> > How's that above input string was correctly parsed as an email? Huh? How > should I be sure I received proper email message? That's a mystery to me ... > 2) > {From [EMAIL PROTECTED] Tue Dec 4 08:49:35 2001 > Received: from atlanta

[REBOL] Re: Function Context Query

2001-12-04 Thread Romano Paolo Tenca
Hi Mark, > I don't see a reason or logic for the distinction, can anybody please explain why these contexts are treated differently, >as from what I can see it is possible to use uninitialised words in function contexts, well they're not actually uninitialised >as REBOL sets them to 'none during

[REBOL] Re: double-click on text-list

2001-12-04 Thread Romano Paolo Tenca
Hi, Carol You can change this line of code of the engage function of iter face do :act slf f/text with something like: if e/double-click [do :act slf f/text] I use it in my program on my reb site. About drag and drop, it is not so easy because faces of text-list are not static but computed a

[REBOL] Re: catching the error with 'import-email?

2001-12-04 Thread Cassani Mario
Hi Pekr, > commenting myself :-) Once I write data manually to mailbox > file, and then read it > back using 'pop protocol, 'import-email works. What is the > difference? Looking at > pop scheme, I can't find out, what is the difference, as we > are talking the same > string :-) > > Well, as Rebo

[REBOL] Re: Function Context Query

2001-12-04 Thread Joel Neely
Hi, Mark, [EMAIL PROTECTED] wrote: > > Joel Neeely [sic]/ everybody, > > perhaps you misunderstood my previous post, > Perhaps the wording of the previous post was capable of being understood in different ways... > > my concern was that uninitialised local words > are treated differently betw

[REBOL] double-click on text-list

2001-12-04 Thread karol
Hi List! I want to write a simple program with GUI using VID and I have some question about it : how to make text-list react on doubleclick? and how to move items on text-list using drag and drop? maybe someone did it and source is available? I just don't know where to start thanks in advance Ka

[REBOL] Re: reboLDAP (LDAP for rebol)

2001-12-04 Thread Vos, Doug
More info added this morning at http://vvn.net/reboldap/ Deryk - where can we find rebauthd ? or more about your work with pam_ldap/nss_ldap ? -Original Message- From: Deryk Robosson [mailto:[EMAIL PROTECTED]] Sent: Monday, December 03, 2001 9:02 PM To: [EMAIL PROTECTED] Subject: [REBO

[REBOL] Re: catching the error with 'import-email?

2001-12-04 Thread Petr Krenzelok
Petr Krenzelok wrote: > Jon Saltzman wrote: > > > Hi Petr, > > I am working on a mail client which has a function just like this, and > > I've had no trouble with it on a Windows client - here's my code: > > > > > > mail: open pop://user:pass@server > > if error? try [msg: import-email pic

[REBOL] Re: Elegant way to reference a function?

2001-12-04 Thread pat665
Hi Chaz, I did not know what a context was so I went for the doc. It reads "This is a shortcut for MAKE OBJECT!. ". So a context is an other name for an object. I 'm afraid I don't understand how it will help me. Do you have more on this ? Thanks Patrick - Original Message - From: "c

[REBOL] doubleclick on text-list

2001-12-04 Thread karol
Hi List! I want to write a simple program with GUI using VID and I have some question about it : how to make text-list react on doubleclick? and how to move items on text-list using drag and drop? maybe someone did it and source is available? I just don't know where to start thanks in advance Ka

[REBOL] Re: Elegant way to reference a function?

2001-12-04 Thread pat665
Thanks to Andrew and Ladislav, So it will be a <> solution ! Patrick - Original Message - From: "Andrew Martin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 04, 2001 9:21 AM Subject: [REBOL] Re: Elegant way to reference a function? > > What is the elegant

[REBOL] Re: cgi weirdness

2001-12-04 Thread Ingo Hohmann
Hi James, another guess: some servers choke on wrong line endings, e.g. a script written under windows, and then executed on a Unix machine ... If possible, try REBOL[] write %my-cgi-script.r read %my-cgi-script.r on the server. I hope that helps, Ingo Once upon a time Brett Handle

[REBOL] Re: cgi weirdness

2001-12-04 Thread Sanghabum
> Just yesterady I had similar problem. Even detab was not > enough. I cut and pasted first line from another script > (#!/usr/bin/rebolcmd -cs), detabbed the script, manually > pressed enter at the end of the line, deleted empty > lines, entered new ones, etc. - no success. I simply > deleted lin

[REBOL] Re: Function Context Query

2001-12-04 Thread Robbo1Mark
Joel Neeely/ everybody, perhaps you misunderstood my previous post, my concern was that uninitialised local words are treated differently between contexts and function-contexts. Please see below, >> use [my-word] [print unset? get/any 'my-word] true >> my-func: has [my-word] [print unset? get/a

[REBOL] Re: catching the error with 'import-email?

2001-12-04 Thread Petr Krenzelok
Heh, look at following code result! ->> ble: import-email {total 2 {-rwxr-xr-x1 root root 253 Dec 4 07:13 process-email.r {-rwxr-xr-x1 root root 426 Dec 4 08:43 snih.r {} ->> ble ->> probe ble make object! [ To: none CC: none BCC: none

[REBOL] Re: A REBOL challenge - The Information World

2001-12-04 Thread chaz
A site like http://www.cornerhost.com/cvs/ might be a better forum for the jousting than on this list. - Original Message - From: "pat665" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 03, 2001 1:52 PM Subject: [REBOL] Re: A REBOL challenge - The Information World >

[REBOL] Re: Elegant way to reference a function?

2001-12-04 Thread Andrew Martin
> What is the elegant way to reference a function? > I think may be it is as simple as : > > display: :my-show-photo-function That's exactly right. Andrew Martin ICQ: 26227169 http://valley.150m.com/ -><- -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsu

[REBOL] Re: catching the error with 'import-email?

2001-12-04 Thread Petr Krenzelok
Jon Saltzman wrote: > Hi Petr, > I am working on a mail client which has a function just like this, and > I've had no trouble with it on a Windows client - here's my code: > > > mail: open pop://user:pass@server > if error? try [msg: import-email pick mail 1] [ print "Error" ] > > > This

[REBOL] Re: catching the error with 'import-email?

2001-12-04 Thread Jon Saltzman
Hi Petr, I am working on a mail client which has a function just like this, and I've had no trouble with it on a Windows client - here's my code: mail: open pop://user:pass@server if error? try [msg: import-email pick mail 1] [ print "Error" ] This produces: >> mail: open pop://user:pass@s