[REBOL] Antwort: Command question Re:

2000-10-04 Thread Sharriff . Aina
Thanks for replying Dan! Great question(s) Sharriff. We will have some answers in the very near future. We have an upcoming Runtime (i.e., encapsulated) version of REBOL/Command that will be available and allow you to distribute your applications. Keep your eye on the site or this list

[REBOL] ODBC, XML and REBOL --something worth considering

2000-10-04 Thread Sharriff . Aina
Hi Gurus! I´m not much of a programmmer, but I´m sure some guru or maybe RT itself would find this useful: http://odbc.linuxave.net

[REBOL]

2000-10-04 Thread Sharriff . Aina
It´s stated somewhere that HASH! and LIST! types are better for data retieval, by what factor and why exactly? are there any special sort or retieve commands or functions that are not documented? I habe´nt found any I´m using Blocks to try to implement a user list of 40-50 users. Sharriff Aina

[REBOL] CGI

2000-10-04 Thread Sharriff . Aina
Hi guys! Sorry to bother you with this newbie question: Why does one have to "make object!" after a "decode-cgi" ? just curious... Sharriff Aina med.iq information quality in healthcare AG Gutenbergstr. 42 41564 Kaarst tel.: 02131-3669-0 fax: 02131-3669-599 www.med-iq.de

[REBOL] CGI Re:(2)

2000-10-04 Thread brett
Though, as noted on an earlier message on this list, doing so means that you will only get one value from a multi-select input. Brett. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, October 04, 2000 8:08 PM Subject: [REBOL] CGI Re: Sharriff Aina

[REBOL] Antwort: Command question Re:(3)

2000-10-04 Thread Petr . Krenzelok
[EMAIL PROTECTED] wrote: Core to support at least 1 free DB, or create one yourselves! I Elan's book www.reboltech.com includes a DBMS written entirely in REBOL. People have also mentioned connnecting to MySQL via /COMMAND and ODBC, but that just seems like such a kludge. Another

[REBOL] simple parse and copy question

2000-10-04 Thread Sharriff . Aina
help copy USAGE: COPY value /part range /deep considering: "parse page [thru title copy text to /title ] " copy is evaluted towars the RIGHT side, copies values into WORD! text am I to take this as it is? can someone explain exactly why this particular example works this way. regards

[REBOL] rebol script as a daemon Help me please...

2000-10-04 Thread jr
I would like to start a Rebol script as a daemon under Linux at boot up. Any ideas how to do this? I have screwed around with it but can't make it work correctly. When I do run it from command line works fine. But then I try to run it in the background, it runs but you can't access it via the

[REBOL] Problem with try [ open/direct/binary tcp://... ] Re:(9)

2000-10-04 Thread g . santilli
[EMAIL PROTECTED] wrote: It appears that using a block as the second argument, when the first argument is of any-string! type, causes the contents of the block be treated as strings. Yup, INSERT uses FORM to convert values that are not of the ANY-STRING! (pseudo)type to strings. The point

[REBOL] Conversion bug?

2000-10-04 Thread joel . neely
The following appears to be buggy. to-string "hi" == "hi" to-binary to-string "hi" == #{6869} to-binary "hi" == #{6869} ...no surprise... to-string first ["hi"] == "hi" to-binary to-string first ["hi"] == #{6869} to-binary first ["hi"] ==

[REBOL] TECHNICAL ESSAY/CHALLENGE(s) - Expression Based? Re:(3)

2000-10-04 Thread g . santilli
[EMAIL PROTECTED] wrote: [do-in diffs either even? num [[up/by num]] [[down/by num]]] (using COMPOSE here you may get closer to your hypothetical syntax...) Being a Bear of Small Brain (and I was up late last night and haven't had sufficient coffee yet this morning), I must ask for an

[REBOL] Daemon Workaround - Linux

2000-10-04 Thread jr
Workaround for starting a process as a daemon on LINUX. 1. create a txt file called whatever you want it called 2. put in the file your command line commands to launch your script as follows: rebol -c /path/to/script/script.r 3. telnet into your server, you must be root to do this so

[REBOL] Parsing question Re:

2000-10-04 Thread brett
Short answer - It depends (doesn't it always :) ) Long answer, If I assume there is no relationship between the 5th occurence of "something" (A) and the 9th occurrence of "whatever" (B) then the answer is no - you probably cannot do it in one rule. The reason being is that you want parse to

[REBOL] TECHNICAL ESSAY/CHALLENGE(s) - Expression Based? Re:(5)

2000-10-04 Thread g . santilli
[EMAIL PROTECTED] wrote: To sum up thus far, it appears that handling these three cases 1) same object, same method, computed argument(s) 2) same object, computed method, same argument(s) 3) computed object, same method, same argument(s) involves the use of three (radically!)

[REBOL] Antwort: simple parse and copy question Re:

2000-10-04 Thread Sharriff . Aina
Parse rules are made up from a dialect specific to parse. That is, the "code" you find in a parse rule is not executed like ordinary script, it is instead interpreted by the parse function. When the parse function encounters the word "copy" in a parse rule it applies its own specific meaning -

[REBOL] Problem with try [ open/direct/binary tcp://... ] Re:(9)

2000-10-04 Thread g . santilli
[EMAIL PROTECTED] wrote: yeah, REBOLs build-in binary capabilities are a bit strange sometimes :-/ ## to binary! 100 == #{313030} Doesn't that seem like a bug? If you're saying that, then sure it does! :) It would be really useful to be able to convert an integer (or even a decimal,

[REBOL] simple parse and copy question Re:

2000-10-04 Thread joel . neely
Hi, Sharriff... [EMAIL PROTECTED] wrote: help copy USAGE: COPY value /part range /deep considering: "parse page [thru title copy text to /title ] " copy is evaluted towars the RIGHT side, copies values into WORD! text am I to take this as it is? can someone explain exactly

[REBOL] TECHNICAL ESSAY/CHALLENGE(s) - Expression Based? Re:

2000-10-04 Thread kgozlin
(*WARNING* *HYPOTHETICAL SYNTAX FOLLOWS*) use [diffs] [ diffs: make tally [] foreach num bunchanums [ diffs/(either even? num [up] [down])/by num ] print ["net sum:" diffs/now?] ] i like this hypothetical stuff, so you got it almost as you wish

[REBOL] Problem with try [ open/direct/binary tcp://... ] Re:

2000-10-04 Thread KGD03011
Hi Elan, Thanks for setting me straight on where my observations were lacking. So, apparently INSERT and friends always use TO STRING! , but TO STRING! 's behavior itself is a little harder to understand than I'd thought. I take it that of the three types of conversion, MOLD preserves the

[REBOL] Re: Parsing question Re:(2)

2000-10-04 Thread rebol
Hello [EMAIL PROTECTED], Here's a parse rule that does the trick: my-table-rule: [ 4 [thru "table" thru "/table"] 1 [thru "table" copy my-text [thru "/table" to "/table"]] to end ] "to end" isn't strictly nessesary, but will make parse return true if the text was succesfully

[REBOL] Parsing question Re:(4)

2000-10-04 Thread hopeless
aha! All so simple when you realise you can put numbers in there!!! I missed that is the new manual. Cheers, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 04, 2000 10:09 AM To: [EMAIL PROTECTED] Subject: [REBOL] Re: Parsing

[REBOL] CGI Re:

2000-10-04 Thread sterling
It simply makes an easy-access object out of the data: decode-cgi "foo=10bar=20" == [foo: 10 bar: 20] when you make an object out of it with: cgi: make object! decode-cgi "foo=10bar=20" you can access the form values like this: cgi/foo == 10 cgi/bar == 20 The reason you might not make an

[REBOL] Re:

2000-10-04 Thread rebol
Hi Sharriff, 1. Thanks for the link to the SocketServer site. Interesting stuff. 2.Theoretically (I haven't actually timed it) LIST! is faster when it comes to adding and removing elements. If you have a lot of add/remove operations on a series than a value of type list! should be faster. HASH!

[REBOL] New View version 0.10.38.3.1

2000-10-04 Thread ryanc
The new version of view 0.10.38.3.1 wont install properly on my win-98 machine, anybody else having this problem? --Ryan

[REBOL] New View version 0.10.38.3.1 Re:

2000-10-04 Thread capolunghi
Ryan: I had problems loading before and found out that if you already have a 'View directory, it will not load. To correct, you must delete or move your previous view directory and then try again. Hope this helps, Joe -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

[REBOL] Re: New View version 0.10.38.3.1 Re:

2000-10-04 Thread alanwall
Hello [EMAIL PROTECTED] On 04-Oct-00, [EMAIL PROTECTED] wrote: Ryan: I had problems loading before and found out that if you already have a 'View directory, it will not load. To correct, you must delete or move your previous view directory and then try again. Hope this helps, Joe

[REBOL] shifting characters in rejoin

2000-10-04 Thread RChristiansen
I have created a function which returns something strange when I use rejoin. The function is called build-html.r which builds a markup statement. Here is the console result. Notice the closing bracket for the opening tag is strangely moved to the end of the rejoined string: do %build-html.r

[REBOL] List! series [Was: blank] Re:(2)

2000-10-04 Thread larry
Hi gmassar Some of the series functions work differently for lists then other series. From the new Core PDF doc: "Removing the element currently referenced in a list causes the reference to reset to the tail of the list" So using your example: list: make list! [1 2 3 4] == make list! [1 2 3

[REBOL] shifting characters in rejoin Re:

2000-10-04 Thread Al . Bri
I have created a function which returns something strange when I use rejoin. The function is called build-html.r which builds a markup statement. Here is the console result. Notice the closing bracket for the opening tag is strangely moved to the end of the rejoined string: do %build-html.r

[REBOL] List! series [Was: blank] Re:(2)

2000-10-04 Thread Al . Bri
list: make list! [1 2 3 4] == make list! [1 2 3 4] first list == 1 remove list == make list! [2 3 4] first list ** Script Error: Out of range or past end. ** Where: first list first head list == 2 As Larry points out, some functions work differently for list!. I believe it's for performance

[REBOL] List! series [Was: blank] Re:(2)

2000-10-04 Thread rebol
Hi gmassar, it's not quite as drastic as that. After removing from the list, do list: head list == make list! [2 3 4] Also try: list: make list! [1 2 3 4] at list 2 compare to block: make block! [1 2 3 4] at block 2 Another surprise: list: make list! [1 2 3 4] foreach element list

[REBOL] shifting characters in rejoin Re:(2)

2000-10-04 Thread Al . Bri
You've run into the interesting way that 'join works on tag!. rejoin [font "class=" "Ryan C. Christiansen" /font] == fontclass=Ryan C. Christiansen/font Basically you have to convert the tags to strings to work as you'd expect, as 'join on a tag! will put the stuff in the block inside the

[REBOL] shifting characters in rejoin Re:

2000-10-04 Thread KGD03011
Hi Ryan, Andrew Martin already answered you, but maybe this provides a little different perspective ... The results look strange because the and aren't part of the tag! data, they just delimit it. length? TAG == 3 When you do markup-string: rejoin [open-tag data/name close-tag] the

[REBOL] Did you know? - 'Bind is stackable!

2000-10-04 Thread Al . Bri
Did you know? - 'Bind is stackable! I didn't - until I tried it. Have a look at the line: if all bind bind Filter 'File 'Header Unit: function ['Name [word!] Base-Directory [file!] Sub-Directory [file!] Filter [block!]] [Script Header] [ error? try [ if

[REBOL] New Article

2000-10-04 Thread allen
Hi REBOLs, A new article by Ole Friis, the first in a series on compression REBOL http://www.rebolforces.com/compression1.html. This first one looks at Huffman encoding. Cheers, Allen K

[REBOL] Antwort: Command question Re:(4)

2000-10-04 Thread allen
- Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, October 04, 2000 10:13 PM Subject: [REBOL] Antwort: Command question Re:(3) Maybe we could also agree upon some standard plug-ins system, as proposed by Andrew Martin on rebmail list, and then Elan's

[REBOL] shifting characters in rejoin Re:(2)

2000-10-04 Thread norsepower
Thanks, guys, for the answer. I didn't think about there being a datatyping problem, but that makes perfect sense now. A tag! is meant to represent only one tag. If you want to have more than one tag in an HTML element, you need to make a string. So it's very easy to correct your function.

[REBOL] Who is that grouch? -or- Fun with functions!

2000-10-04 Thread joel . neely
I fear that anyone reading my last few posts may conclude that I'm a real grouch. (Of course, it's not necessary to read my emails to draw that conclusion! ;-) In the interest of Suitable Doses of Levity, let's have fun with functions in REBOL! First, let's define an oldie from APL: