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
>
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
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
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
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
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
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
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
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
%mensaje.txt
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
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
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.
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
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
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
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
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
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: %
- 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
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,
21 matches
Mail list logo