> I want to constrain the input values for a string field to be either the
words "cancel" or "nocancel".
> REBOL has excellent support for forcing a function argument to be date!,
time!, string!, but I want to increase the restrictions for a particular
field and have it throw an error on spurious
I've written one for the Amiga. RFC 1459 is what you're after and is
available (among other places) here:
http://www.newnet.net/nnrfc1459.html
Deryk
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 06, 2000 9:45 AM
Subject: [REBOL] IRC
Has anyone made a client for IRC or know the handshaking involved. Is it
possible to create an IRC client with REBOL?
Hi,
use echo
echo %logfile.txt
trace on
run-script-now
trace off
write ftp://username:[EMAIL PROTECTED] read %logfile.txt
>> help echo
USAGE:
ECHO target
DESCRIPTION:
Copies console output to a file.
ECHO is a function value.
ARGUMENTS:
target -- (Type: file none)
(SPECIA
princepawn,
Attached you will find an example that should allow CSV conversion of a
file of any length.
Shocked and honored that simple old %convert-csv.r is one of the most
popular scripts!
Have fun!
-Bo
On 5-Sep-2000/12:52:36-7:00, [EMAIL PROTECTED] wrote:
>I was glancing at one of the most
Well, a good chunky to planar converter does the conversion at copy speed,
i.e. at the speed it takes to copy a block of memory from fast to chip
memory (even faster if it uses cache prefetching..), at least on 040 +.
The limiting factor is the speed of chip mem, which is really slow :(
Cheers,
--- [EMAIL PROTECTED] wrote on 5-Sep-2000/12:52:36-7:00
> I was glancing at one of the most popular scripts at the REBOL archive and deve
>
> loped some questions:
>
> 1- Is it possible to incrementally write to a file in REBOL?
very similar to series. 'skip , 'change ..
> 2- Is it possible to
main: func[ /file the-file /get /put ] ... should look fine?
another:
main: func[ /put p-file /get g-file ][ file: any[p-file g-file ... ]
but:
> /put orderfile-name [string!] "Put an orderfile on our server"
> /get orderfile-name [string!] "Put an orderfile on our server"
if yo
--- [EMAIL PROTECTED] wrote on 5-Sep-2000/16:57:30+2:00
>
> Hello,
>
> - Is there any example of xml parsing somewhere since there seem to be =
> none on rebol.com or rebol.org ?
1) parse-xml or that?
> - Rebol doesn't seem to put accent on advanced concept of Object =
> Oriented Programm
GET in Rebol is like you describe however, POST comes a string which you
have to parse which is really a hassle, as far as my experience recently
showed.
I had to parse everything and do all kinds of little things to get the
thing into a block with single values I could reference.
At 12:14 P
Hi Rebols,
Let's get together and make REBOL stronger. Join Now REBOL WebRing:
http://edit.webring.yahoo.com/cgi-bin/membercgi?ring=rebolwebring&addsite
Cheers
Carlos Lorenz
>- Open Your Mind -<
Quoting from [EMAIL PROTECTED]'s message (05-Sep-00 17:03:50).
p> I have a function that will either get or put a filename... of course I want to use
the same name for the file regardless, and this will not pose a problem because the
arguments are mutually exclusive.
p>
>- Open Your Mind -<
Quoting from [EMAIL PROTECTED]'s message (05-Sep-00 20:15:27).
p> However, I am confused as to why a REBOL read operation would be denied because of
attemting to *write* on the port.
p>>> read ftp://ftp_xing:[EMAIL PROTECTED]
p> connecting to: 19.105.186.51
p> ** Script
[EMAIL PROTECTED] wrote:
> I was glancing at one of the most popular scripts at the REBOL archive and developed
>some questions:
>
> 1- Is it possible to incrementally write to a file in REBOL?
autos: open/new %autos.txt
insert autos "Ford"
insert tail autos " Chevy"
close autos
>
> 2- Is it p
have you tried the refinements for write?
like: write/append/lines (to write one line at a time).
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 05, 2000 3:53 PM
To: [EMAIL PROTECTED]
Subject: [REBOL] Speed and Memory Management in REBOL
I was glancing at one of the most popular scripts at the REBOL archive and developed
some questions:
1- Is it possible to incrementally write to a file in REBOL?
2- Is it possible to append to a file in REBOL
3- This script seems in-efficient and memory wasteful: it reads and entire file into a
Hi,
I guess this has nothing to do with proxy because it happens to me too
sometimes and there's no proxy down here.
Lorenz
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Terça-feira, 5 de Setembro de 2000 15:15
Subject: [REBOL] Please help with FTP read comma
I cant imagine why it matters whether input is GET or POST... either way you want to
pick the values out of a query string... in Perl, the CGI.pm module allows you to get
at key-value pairs regardless of whether the data was sent via GET or POST, and I for
one have never cared how it came as lo
I am developing a script for use at very remote locations. Thus, to debug it, I need
to have trace logs sent to me.
Ideally, the script would run, dump its trace to a file and just before termination
ftp the trace log to my machine.
However, it appears that trace output only goes to STDOUT, w
I seem to able to access the machine I want to, but, a *write* attempt is leading to
failure, even though I am only trying to read a directory list from an ftp server.
>> read ftp://199.105.186.51
connecting to: 199.105.186.51
** User Error: Server error: tcp 530 Anonymous FTP access denied..
**
Hello all,
I've experienced that make-dir in a ftp context doesn't create the
directories as expected. Instead of creating sub-directories, it
creates them one next to the the other along the root directory. Here
is the code I used:
system/schemes/ftp/passive: true
xoom: ftp://user:[EMAIL PROTE
For some reason, a machine I can manually ftp to does not work through rebol. My proxy
settings seem to be ok, because when I try to access the site anonymously, I get back
a denied msg.
However, I am confused as to why a REBOL read operation would be denied because of
attemting to *write* on
With REBOL you wont be too successful hiding this from a REBOL
programmer, because of course a properly placed probe would easily
reveal it no matter how much encryption you threw at it.
So basically all you can do is keep it from being non-programmer
readable in a file. The easiest way to this
Maybe this is why I cant connect with MSPROXY. Has anyone had any luck
getting /View or /Core to work with MSPROXY.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 05, 2000 11:31 AM
To: [EMAIL PROTECTED]
Subject: [REBOL] Re: Proxy Problems (
> I need to connect to FTP but the password contains chars like #"@" or #"\". What can
>I do?
>From the network protocols document:
You can also open FTP connections by using a port specification rather than a URL.
This allows you to use any password, even ones containing special characters th
Great information. I have the desire as many ecommerce folks also do.
Would be nice to see an ftp server/client that uses this encryption.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of [EMAIL PROTECTED]
Sent: Tuesday, September 05, 2000 5:23 AM
To: [EM
I think the error you report is secondary to the atypical proxy
configuration architecture REBOL has adopted.
You'll notice that the error you received indicates it's using the tcp
scheme. It used to be that the REBOL sites for view were accessed with
http, and while the http scheme relies to som
Looks like you will have to use a differnet argument for either /put or /get
refinements. Then possibiy incorporate the Copy function into the body of
the function if necessary. You may want to perform some logical operators
on the /put or /get refinements and just pass the filename as a separat
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, September 06, 2000 1:03 AM
Subject: [REBOL] Why cant mutually exclusive refinements have the same
argument name
> I have a function that will either get or put a filename... o
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 06, 2000 12:57 AM
Subject: [REBOL] Any example of xml parsing on rebol site or rebol.org ?
>Hello,
>- Is there any example of xml parsing somewhere since there seem to be none
on rebol.com
If by "create a ... function" you mean that you'd like REBOL
Technologies to add a well-known, well-tested, high-security
algorithm (e.g., blowfish, twofish, or whatever wins the AES
competition sponsored by NIST) to REBOL as a primitive (for
performance reasons) then I'm happy to second the reque
I have a function that will either get or put a filename... of course I want to use
the same name for the file regardless, and this will not pose a problem because the
arguments are mutually exclusive.
However, REBOL is complaining about me using the same name for 2 mutually exclusive
argumen
Hello,
- Is there any example of xml parsing somewhere since there
seem to be none on rebol.com or rebol.org ?
- Rebol doesn't seem to put accent on advanced concept of
Object Oriented Programming
like inheritance, polymorphism etc... is there any reason
?
Thanks.
This sounds like a job for Design by Contract. :)
As far as I know the only thing you can do in rebol is check for those
inputs and throw an error if the argument doesn't match one of them.
Keith
P.S. I wonder if Carl's ever looked at Eiffel and such for ideas for Rebol.
I know he's dealt with
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 06, 2000 12:20 AM
Subject: [REBOL] switch or case statement?
> I thought that REBOL had a switch or case statement. Doesn't it?
>
? switch
USAGE:
SWITCH value cases /default case
D
Hi list,
I've put together a spec. (a very small one too) for a Message Board system
to be written in rebol. If anyone's interested in helping,
feel free to mail me at [EMAIL PROTECTED]
/Regards
Stefan Falk
I want to constrain the input values for a string field to be either the words
"cancel" or "nocancel".
REBOL has excellent support for forcing a function argument to be date!, time!,
string!, but I want to increase the restrictions for a particular field and have it
throw an error on spurious
I thought that REBOL had a switch or case statement. Doesn't it?
---
; run this in your
; http://www.rebol.com>REBOL Interpreter!
terrence-brannon: [ [EMAIL PROTECTED] perl-refugee myth-gamer ]
perl-refugee: [ 'loved href perl discovery: (metaperl = rebol) 'hates href perl ]
myth-gamer:http://ww
My suggestions are this:
1. Find programmers and tell them about REBOL. You will be surprised how
many dont know about this language.
2. There are many occasional programmers that need a script to perform
some form of task. For example, I belong to a Cisco study group and man
In writing the online order forms, we had to construct a very tedious
spreadsheet postal rates. Unfortunately, international mail does not follow
any discernable pattern, it is all over the place. You can generalize for
regions--such as Europe, Asia, etc.--but not even very accurately then. It
is
40 matches
Mail list logo