[REBOL] parsing strings containing quote marks Re:(5)

1999-10-14 Thread jeff
Hmmm.. I can tighten this code I just sent out a little: >foreach [rule thing] ['space-piece " " end-piece 'end][ >set rule compose [copy x to (thing) (to-paren [append result x])] >] That works, but should or could or would be better as:

[REBOL] How to handle script arguments

1999-10-14 Thread LewisB
I'm new to rebol and trying to figure out how to deal with arguments.  I have a script file, test.r, who's sole line is:   probe system/script/args   When I execute the following from within rebol   do/args %test.r 10:30 %bob http://ed "hello" 'whatever   all I get is   Script: "test" (non

[REBOL] parsing strings containing quote marks Re:(4)

1999-10-14 Thread jeff
Howdy Russ: > We can always live with workarounds... but I thought > someone more knowledgable than I of the innards of REBOL's > parse algorithms should at least be made aware and ponder > if this what's truly intended. I do hope you and people at > REBOL will offer more

[REBOL] parsing strings containing quote marks Re:(3)

1999-10-14 Thread Russ
Thank you both Gabriele and Elan for your comments on the problem I observed. I can only concur with all you say, but am still left with the same dilema. Of course, in something like an IRC client that I wrote, one has NO control over the form a string might take, having been typed by a user. T

[REBOL] Pining for the Fjords Re:

1999-10-14 Thread jeff
> Has anyone noticed the similarity between Monty Python's > dead parrot sketch and the submit bot at Rebol.org? > > Please someone wire it back onto the perch or do something > to make it voom! > > It is currently pining for the fjords again,. ;-) > > But I do like the new Full List page

[REBOL] ftp forever :-) Re:(8)

1999-10-14 Thread sterling
OK, you've got a different type of FTP proxy. We don't support that yet but I'll put it on the list. That last posting clears things up a lot... thanks. Sterling > Does it help you to identify, what is going on during the connection? > > -pekr- > >

[REBOL] parsing strings containing quote marks Re:(2)

1999-10-14 Thread icimjs
Hi Gabriele, you wrote: >>> parse {This was really surprising, "but quotes are taken into consideration" by parse.} none >== ["This" "was" "really" "surprising" "but quotes are taken into consideration" "by" "parse."] The problem is how they are taken into consideration. When you use 'none as a

[REBOL] Pining for the Fjords

1999-10-14 Thread allenk
Has anyone noticed the similarity between Monty Python's dead parrot sketch and the submit bot at Rebol.org? Please someone wire it back onto the perch or do something to make it voom! It is currently pining for the fjords again,. ;-) But I do like the new Full List page. Beautiful plumage in

[REBOL] I am having problems getting join to place text right after a variable Re:(2)

1999-10-14 Thread allenk
> Try: > print rejoin ["Hello " name "."] or try this way if the contents don't need to be reduce (evaluated) print join "Hello" [" name" "."] ? join Concatenates values. Arguments: value -- Base value rest -- Value or block of values >> ? rejoin Reduces and joins a block of values.

[REBOL] I am having problems getting join to place text right after a variable Re:

1999-10-14 Thread al004046
> > Hi, could someone please fix the following simple program so that the period > shows up right after the variable as opposed to being spaced one character > away? Many thanks. > name: ask "What is your name? " > print [ join "Hello " name "." ] You're almost there :-) join would work like:

[REBOL] I am having problems getting join to place text right after a variable Re:

1999-10-14 Thread fuchs
Try: print rejoin ["Hello " name "."] [EMAIL PROTECTED] wrote: > Hi, could someone please fix the following simple program so that the period > shows up right after the variable as opposed to being spaced one character > away? Many thanks. > > REBOL [ > Title: "Asking questions and remembe

[REBOL] I am having problems getting join to place text right after a variable

1999-10-14 Thread brannon
Hi, could someone please fix the following simple program so that the period shows up right after the variable as opposed to being spaced one character away? Many thanks. REBOL [ Title: "Asking questions and remembering the result" Date: 14-Oct-99 Author: "T.M. Brannon" Email:

[REBOL] Saving Post Data Re:(5)

1999-10-14 Thread johnkenyon
>I think the reason Allen is having problems is because he's using my post.r on an NT box. Has anyone else tried >this? I've really only used it under IRIX. I have been playing with post.r under NT and have had success uploading text/binary files with ns4.5/ie3/ie5. This is using apache on n

[REBOL] Saving Post Data Re:(4)

1999-10-14 Thread giesse
[EMAIL PROTECTED] wrote: [Content-Length field in POST methods] > I think so... but I don't think that it is a _required_ field so it It is required. The server may respond without specifying the Content-Length if it closes the connection after sending the data (so the client knows when data is

[REBOL] parsing strings containing quote marks Re:

1999-10-14 Thread giesse
> While developing an IRC client in REBOL (it works great!), I ran into a > dilema regarding parsing strings that contain quote marks. Perhaps the > following demonstrates the difficulty: >> parse {This was really surprising, "but quotes are taken into consideration" by >parse.} none == ["This"

[REBOL] Re: REBOL and "hw" communication ... Re:(3)

1999-10-14 Thread sembazuru
Hello [EMAIL PROTECTED] On 13-Oct-99, [EMAIL PROTECTED] wrote: [...] b> I have an acquaintance who uses an Amiga with AREXX to control X-10 controllers. It b> would be quite elegant to do the same thing with REBOL. Now the best way that I can think of for implementing REBOL as an IPL on the ami

[REBOL] ftp forever :-) Re:(7)

1999-10-14 Thread petr . krenzelok
Sterling, I will paste here my Windows Commander ftp connection log, HTH: -- Connect to: (14.10.1999 14:10:40) hostname=moon.rebol.cz username=asko startdir= Firewall=194.196.81.129 Firewall user name=user-name ; changed here and below :-) 220 gate FTP GATEWAY (Version 1.2 12/06/94 2

[REBOL] Newbie question Re:(2)

1999-10-14 Thread peter . carlsson
At 11:24 1999-10-13 -0400, you wrote: >Hello Peter: > >I use a lot of tab delimited data-bases also. Data that is exported from >MS-Excel... > >To parse out the individual lines of a database, I use something like the >following. >REBOL [ > Title: "Example of parsing tab delimited records...

[REBOL] Writing REBOL - Tips Re:(6)

1999-10-14 Thread rachid
> Andrew wrote: > >Ralph wrote: > >> You bask on a beach in Tahiti. A postcard arrives. Your computer has > >finished the job; hopes you are having a great time. > >> > >> You are. > > > >Sound great! Have you written the program to do that yet? ^_^ > > > > No, I'm sitting at the beach, waiting

[REBOL] SV: [REBOL] Is there a way of changing the 'state' of a port from /lines Re:

1999-10-14 Thread Micael . Gullmes
Thanks Jim! That was exactly what I was looking for! Brgds /Micael -Ursprungligt meddelande- Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Skickat: den 13 oktober 1999 22:09 Till: [EMAIL PROTECTED] Ämne: [REBOL] Is there a way of changing the 'state' of a port from /lines Re: Hi