[REBOL] newsgroups Re:(2)

2000-02-27 Thread norsepower
Yup. Thanks. -Ryan >Hi, > >If your are using news:// protocol/dialect (described in the how-to >http://www.rebol.com/howto.html#news.html) rather the built in nntp:/ / >protocol (described in the manual http://www.rebol.com/users/ netnntp.html) >You need to do the %nntp.r file.. >do %nntp.r >

[REBOL] %"" Re:

2000-02-27 Thread KGD03011
Hi Olivier, you wrote: >Do you think that %"" should be accepted as a valid filename ? >Personnally I don't think so, because no operating system I know accept >that. >%"" should return . >This would solve many issues with filename handling (split-path, >clean-path). A valid filename and a val

[REBOL] New Floating-Point Functions

2000-02-27 Thread larry
Hi Folks Eric and I have just posted a new script to the REBOL script library. You can download it directly from: http://www.rebol.org/math/decimal.r The purpose of this package of functions is to improve REBOL'S support for floating-point mathematics. It provides many of the capabilities prese

[REBOL] [BUG] unset! (and "help" function lie!)

2000-02-27 Thread KGD03011
Hi Olivier, you wrote: >So unset! seems to be a datatype. >Lets verify if unset! is a datatype : > >>> type? file! >== datatype! >>> type? unset! >** Script Error: unset! has no value. >** Where: type? unset! One of REBOL's most confusing issues is that representations of some values look exac

[REBOL] where does that space come from? Re:

2000-02-27 Thread tf
On Sun, Feb 27, 2000 at 06:00:03PM -0800, [EMAIL PROTECTED] wrote: > > It seems OK to me, except for the leading space before these lines: > "Day:" > and: > "Hours:" > > But that's due to the space in this: > [{^/ Day: } day {^/ Hours: > after each newline ch

[REBOL] Split-path correction Re:(3)

2000-02-27 Thread Al . Bri
Olivier wrote: > There is a problem. Look at the type of the second element of the result : > >> split-path %fdgd/file.r > == [%fdgd/ %file.r] > >> split-path %file.r > == [%./ "file.r"] > > In one case it is a string!, in the other it is a file!. I haven't come across that one! I agree totally t

[REBOL] [BUG] unset! Re:

2000-02-27 Thread Al . Bri
Olivier wrote: > So, is unset! a datatype! or not ? Eric discovered this sometime ago. It's a bug that REBOL crew haven't got around to fixing yet. In my most recent %Patch.r file, this is fixed with this code: if not value? 'unset! [ unset!: (type?) ] if not value? 'action! [ actio

[REBOL] where does that space come from? Re:

2000-02-27 Thread Al . Bri
tf wrote: > when running this very simple thing, after I'm prompted with "what day?" REBOL hangs. the rest of the prompts come up "correctly" after I hit enter. Why is that? I tried it, after commenting out this line: change-dir %/home/ 'cause I've got no directory with that name, and

[REBOL] redirecting input and output

2000-02-27 Thread cesar
Hello, and sorry for previous message Does anyone know how to use the redirecting input feature of Rebol? I have been trying it but it doesn´t seem to work. I have tried on Windows things like: rebol -w < in > out where the file "in" is: print "hello!!" Redirecting only output works as I

[REBOL] %mensaje.txt

2000-02-27 Thread cesar
%mensaje.txt

[REBOL] newsgroups Re:

2000-02-27 Thread allenk
Hi, If your are using news:// protocol/dialect (described in the how-to http://www.rebol.com/howto.html#news.html) rather the built in nntp:// protocol (described in the manual http://www.rebol.com/users/netnntp.html) You need to do the %nntp.r file.. do %nntp.r Cheers, Allen K - Origina

[REBOL] newsgroups

2000-02-27 Thread norsepower
WITH THE FOLLOWING SCRIPT... REBOL [] secure none print "security level set to none" nntp-host: news://news.uswest.net np: open nntp-host print "news host opened" write/append %BeAdvocacyMessages.txt insert np [headers-bodies from "comp.sys.be.advocacy"] print "messages retrieved" I GET

[REBOL] [BUG] "help" function lie!

2000-02-27 Thread dolmen
Look at this : >> type? 'afgfgh == word! >> help 'afgfgh afgfgh is word This is ok. >> type? file! == datatype! >> help file! file! is word of value: file This not ok! Olivier.

[REBOL] [BUG] unset!

2000-02-27 Thread dolmen
Look at that : >> type? %f == file! >> type? == unset! So unset! seems to be a datatype. Lets verify if unset! is a datatype : >> type? file! == datatype! >> type? unset! ** Script Error: unset! has no value. ** Where: type? unset! But : >> type? type? %f == datatype! >> type? type? == dataty

[REBOL] Split-path correction Re:(2)

2000-02-27 Thread dolmen
Andrew Martin wrote: > [EMAIL PROTECTED] wrote: > > split-path %file.r > > split-path %dir/ > > These ones, I feel, aren't a problem. The existing implementation of > split-path is correct, I believe. There is a problem. Look at the type of the second element of the resul

[REBOL] Split-path correction Re:

2000-02-27 Thread dolmen
From: <[EMAIL PROTECTED]> > Hi, > > after having some problems with split-path, here is my version: > > (Andrew, it may be nice to have it in your %patch.r) Not yet, Andrew ! > > split-path: func [ > { > Splits a file or URL. Returns a block containing path and > target. > Not alwa

[REBOL] %""

2000-02-27 Thread dolmen
Do you think that %"" should be accepted as a valid filename ? Personnally I don't think so, because no operating system I know accept that. %"" should return . This would solve many issues with filename handling (split-path, clean-path). Another related problem: >> to file! none == %none It sho

[REBOL] howto connect to server over tcp port

2000-02-27 Thread ingo
Hi Rebols, I am trying to connect to a server, this works so far ... p: open tcp://localhost:10009 ; open port read-io p ServerHello 10 ; read hello from Server p/state/with: "^J"; set the line endings insert p "MyCommand^/"; send my command close p

[REBOL] where does that space come from?

2000-02-27 Thread tf
where does that space come from? Hey guys, when running this very simple thing, after I'm prompted with "what day?" REBOL hangs. the rest of the prompts come up "correctly" after I hit enter. Why is that? #!/path/to/rebol -sc REBOL [ Title: "Title Here" Date: 27-Dec-1999 File: %

[REBOL] Re: [ALLY] Problems with iterator Re:

2000-02-27 Thread allenk
- Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, February 27, 2000 8:27 PM Subject: [ALLY] Problems with iterator Re: > Hi Allen, > > First, yes, there is a bug that on a show all faces are redrawn. > > Secondly, no the iterator is not called too many

[REBOL] The meaning of %""

2000-02-27 Thread Al . Bri
If: %. is the current directory, and: %.. is the parent directory, and: % is invalid, then what does: %"" mean? >> t: % ** Syntax Error: Invalid file -- %. ** Where: (line 1) t: % >> t: %"" == % Perhaps it is better that: %"" be an invalid file,