[REBOL] RFF: empty? for blocks Re:(3)

1999-12-09 Thread icimjs
Hi, what you uncovered here is very interesting indeed. Have you reported it as a bug? Once can summarize your observation like this: list: [1 2 3 4] == [1 2 3 4] list2: next list == [2 3 4] list2 == [2 3 4] head list2 == [1 2 3 4] clear list == []

[REBOL] RFF: empty? for blocks Re:(2)

1999-12-09 Thread icimjs
At 03:10 PM 12/9/99 +0100, you wrote: [EMAIL PROTECTED] wrote: Hi, I would like to propose that empty? should be useable with blocks and return true if the block doesn't contain an element. empty? [] == true Good idea. empty?'s current functionality is supplied by the word tail? We don't

[REBOL] User Guide in PDF 8) Re:(3)

1999-12-09 Thread icimjs
At 07:43 AM 12/9/99 +, you wrote: I, for one, disagree. Go ahead and produce the RTF file, but let's not always drop to the lowest common denominator (and lose some very nice features in the process). I really don't see how those features that make PDF more powerful than RTF are important

[REBOL] User Guide in PDF 8) Re:(3)

1999-12-09 Thread icimjs
Hi Ingo, Please, not RTF. Not everyone has RTF capabilities. (I for one haven't found an editor on Linux that understood RTF _AND_ was worth having around.) How about Postscript, then? Or just the all-in-one-html? Have you tried AbiWord? http://www.abisource.com/ Elan

[REBOL] question about insert Re:(5)

1999-12-09 Thread icimjs
Hi Mr. newsletter, you wrote: what's the difference between these two things: char? #'i' == false --- that is # (single quote) i (single quote) type? #'i' == issue! Hope this helps, Elan char? #"i" == true --- that is # (double quote) i (double quote) Thanks.

[REBOL] A function bug Re:(3)

1999-12-08 Thread icimjs
Hi Ladislav, you wrote I recall: block1: [do func[f [any-function!]] [print "OK"] func [x] [print "OK"]] == [do func [f [any-function!]] [print "OK"] func [x] [print "OK"]] do block1 OK Why isn't this answer good enough for you? you refer to the difference between block1 and block2. Once

[REBOL] A function bug Re:(4)

1999-12-08 Thread icimjs
Hi Ladislav, you wrote: I give you another example: Your composite function: composite: func ['f 'g][func [x] compose [(f) (g) x]] f: func [x [any-function!]] ["OK"] g: func [x] [:x] x: func [x] ["OK"] fg: composite f g [correcting the typo:] result: fg :x ** Script Error: x is missing its x

[REBOL] A function bug Re:(6)

1999-12-08 Thread icimjs
Hi Ladislav, let me introduce my twin cousins, Tom and Sam: source tom tom: [func [x] [print "OK"]] source sam sam: [func [x][print "OK"]] type? do tom == function! type? do sam ** Script Error: none is missing its x argument. ** Where: func [x][print "OK"] Why? Here's the explanation:

[REBOL] Un blocking blocks Re:

1999-12-08 Thread icimjs
Hi Rob, you have the option of using a: make block! form a I imagine that make block! form a will run faster than load. Load tries to bind words to the global context which make block! doesn't. Therefore you get these two different behaviors: do load {print "hi"} hi Here print is bound to

[REBOL] Curried functions Re:(4)

1999-12-06 Thread icimjs
At 03:08 PM 12/6/99 +0100, you wrote: Hi, Elan, Your curried doesn't really work. My curried *really* works. Granted, it's a template, a baby version of a curried function. It was only meant to illustrate to Russ what currying is about. But, it *really* works, which cannot be said of the

[REBOL] question about insert Re:

1999-12-06 Thread icimjs
Hi Keith, there are two fucntions, insert and append. You quote from the dictionary, I cant' access it right now, but I think it should say something similar to what REBOL reports when request help for insert: Inserts a value into a series and returns the series after the insert. Arguments:

[REBOL] modifying webpages Re:(3)

1999-12-06 Thread icimjs
Hi -jn-, If my recollection serves my well (hm, hm) then xjohnson explicitly requested that the text be inserted before the closing HTML tag. Still, thanks for pointing it out. Elan At 12:00 PM 12/6/99 -0600, you wrote: [EMAIL PROTECTED] wrote: Hi xjohnson, You can use parse webpage

[REBOL] Curried functions Re:(5)

1999-12-06 Thread icimjs
At 07:15 PM 12/6/99 +0100, you wrote: Three cheers for Oliver! - he succeeded to circumvent the GC fault - which I was blind enough not to see. That is wonderful, Ladislav. What is not so wonderful is that your curry function - as I foretold in my previous email from last night, indeed does do

[REBOL] Curried functions Re:(6)

1999-12-06 Thread icimjs
Hi Ladislav, thank you for being so responsive. [L] Ah, you didn't look at my description of the second argument? Sorry, I was in a hurry and actually didn't. I think both versions - with and without additional argument block have a place in my big heart ;-) - and could easily be combined in

[REBOL] question of load function Re:

1999-12-05 Thread icimjs
At 01:44 PM 12/5/99 +0800, you wrote: question of load function try below: data: load [REBOL [title: "load testing"] "hello" 34 [EMAIL PROTECTED] ] print get head data 'title REBOl return a ERROR,but please refer to manual "Loading data" part (www.rebol.com/manual/opeloading.html),it should

[REBOL] [REBOL] Getting User Input into a variable Re:(2)

1999-12-05 Thread icimjs
Hi Russell, your example also demonstrates another REBOL feature. While [EMAIL PROTECTED] would normally be identified by REBOL as an email address, i.e. of type email!: type? [EMAIL PROTECTED] == email! which is not of type url! url? [EMAIL PROTECTED] == false you can insist that you want

[REBOL] Set/Get method for object that hides its storage Re:

1999-12-05 Thread icimjs
Hi Andrew, you wrote: oz: make object! [ zz: use [zz] [ func [/set set_zz] [either set [zz: set_zz] [zz]] ] ] I like your creative application of my suggestion to use 'use contexts in order ot hide variables. Well thought out. Remember, however, Gabriele's and

[REBOL] modifying webpages Re:

1999-12-05 Thread icimjs
Hi xjohnson, You can use parse webpage [ to /HTML cursor: (insert cursor {some new text. ^/}) to end] where webpage is a string containing the webpage, such as the result of doing webpage: read %somefile.html Here is an example: webpage: { HTML {HEAD Some head stuff {more head

[REBOL] Objects: Preventing Code Duplication Re:(12)

1999-12-05 Thread icimjs
Hi Ladislav, you wrote, Ciao, Gabriele, to the best of my knowledge, Ciao translates to something like goodbye. ;-) - a nice idea. The problem here is that this approach is static, i.e. non-re-entrant, because it uses only static storage for object parameter, namely the code block of method, so

[REBOL] Curried functions Re:(2)

1999-12-05 Thread icimjs
Hi Russ, you wrote: What does "curried" mean in the context used here? In "Introduction to Functional Programming using Haskell", Richard Bird explains currying like this (p. 12): "A useful device for reducing the number of parentheses in an expression is the idea of replacing a structured

[REBOL] Non-reentrant function calling in Rebol Re:(9)

1999-12-05 Thread icimjs
Hi Ladislav, we are making progress. That's good and encouraging. you wrote: But think for the second time: 1. Is the samef expected to return a function? Hint: Yes Absolutely! 2. Does it really return a function? Hint: No What?? Of course it returns a function. Oh, my. What do you

[REBOL] Non-reentrant function calling in Rebol Re:(2)

1999-12-05 Thread icimjs
Hi Eric, you wrote: The fact that "unauthorized" dereferencing of words seems to do something useful at times is definitely a trap, though, and there should be much more warning about this in the documentation. However, shouldn't 'f have been indefinitely extended, when f was returned as part

[REBOL] Non-reentrant function calling in Rebol Re:

1999-12-03 Thread icimjs
Hi Ladislav, you wrote: look at this example: ;Identity function, simply duplicates it's input id: func [x [number!]] [:x] ;Increment function, increases it's input by one inc: func [x [number!]] [x + 1] ;The same function as argument samef: func [f [any-function!]] [func [x] [f x]] You

[REBOL] Objects: Preventing Code Duplication Re:(10)

1999-12-03 Thread icimjs
Hi Ladislav, I wrote: (Oh, and if I concur with my conclusions, please, please make sure that it really does fail!) Read: (Oh, and if YOU concur ... ) Am I being a little self-centered here? ;-) Sorry, Elan

[REBOL] Objects: Preventing Code Duplication Re:(11)

1999-12-03 Thread icimjs
Once again Hi Ladislav, I believe I've figured ou why you think my function should have problems with reentrancy. You see that my function sets the object word of the methods object of the object it is passed. Therefore, whatever ! is doing, it relies on the expectation that the methods/object

[REBOL] Objects: Preventing Code Duplication Re:(11)

1999-12-03 Thread icimjs
Hi Ladislav, you wrote: - Of course, it works. But try to rewrite the code like this: sumnum: func [other [object!]] [ (do ! other get-num) + (do ! self get-num) and see what happens --- Do you realize that REBOL supplies

[REBOL] Non-reentrant function calling in Rebol Re:(3)

1999-12-03 Thread icimjs
Hi Ladislav, I have to run now. Just wanted to mention that I believe you choose a somewhat strong language, --- I am sorry, but your approach is worth nothing, it's too trivial. --- when the triviality you complain about is due to the function you had supplied, namely

[REBOL] Objects: Preventing Code Duplication Re:(4)

1999-12-02 Thread icimjs
At 10:24 PM 12/1/99 +0100, you wrote: Hi Elan, my point I wanted to state was: if both 'probe s are the same you can't use the probe to show that it's not duplicated, am I right? Absolutely. Elan regards Ingo Those were the words of [EMAIL PROTECTED]: Hi Ingo, yes, you do get the same

[REBOL] Objects: Preventing Code Duplication Re:(4)

1999-12-02 Thread icimjs
Hi Gabriele, thanks. At 01:53 PM 12/2/99 +0100, you wrote: [EMAIL PROTECTED] wrote: At 12:48 PM 12/1/99 +0100, you wrote: [EMAIL PROTECTED] wrote: It uses use contexts: To avoid problems with the garbage collector, my hide.r show work fine here. Mmm... show = should. Hi

[REBOL] Reminder Re:(6)

1999-12-01 Thread icimjs
Hi Graham, you wrote: Sorry you didn't like my script! I wrote it last night while watching Star Trek Voyager with the ultimate intention of using Rebol to update it, so to keep it simple ( which is the only way I know how to write! ), kept all the data in one block. Don't take Andrew's likes

[REBOL] [REBOL] Reminder Re:

1999-12-01 Thread icimjs
Hi Andrew, you wrote: Reminder?: function [Date [date!]] [Reminder] [ Reminder: Daily? Daily_Schedule Date/Time if none? Reminder [ Reminder: Weekly? Weekly_Schedule Date ] Reminder ] If I understand your code correctly, then there can

[REBOL] Objects: Preventing Code Duplication Re:(2)

1999-12-01 Thread icimjs
Hi Ladislav, you wrote: There are two problems with your solution: a) it is relying on the persistence of func-1, func-2, ..., which is not garanteed now (problem with indefinite extent and garbage collector...) Where do you take that from? func-1 and func-2 are both referenced by do-something,

[REBOL] Objects: Preventing Code Duplication Re:(2)

1999-12-01 Thread icimjs
At 12:48 PM 12/1/99 +0100, you wrote: [EMAIL PROTECTED] wrote: It uses use contexts: To avoid problems with the garbage collector, my hide.r show work fine here. Hi Gabriele, what is hide.r and where do I get it? Elan

[REBOL] Objects: Preventing Code Duplication Re:(4)

1999-12-01 Thread icimjs
Hi Ladislav, you wrote: We have gained a lot. CF: no-copying: same? get in a 'message get in b 'message ==true no-copying: same? get in a/message 'get-num get in b/message 'get-num ==true I see what you mean. I'd call it a bug ... When objects are inherited, objects they contain should not be

[REBOL] Objects: Preventing Code Duplication

1999-11-30 Thread icimjs
Hi guys, Sorry, can't remember all the names. Have little time. Someone observed that descendant objects inherit their ancestor object's function implementations and variables. This leads to inflated code. The following mechanism can be used to avoid inheriting some code. It uses use contexts:

[REBOL] More syntax/documentation Q's Re:(4)

1999-11-30 Thread icimjs
Hi Carl, you wrote: data: copy/1024 socket ;-- data up to 1024 units Shouldn't that be copy/part socket 1024? Or is this an undocumented shortcut I've overlooked so far? TIA, Elan

[REBOL] Newby needs some strings help Re:(2)

1999-11-30 Thread icimjs
Hi Jerry, you wrote: I'm fairly new to REBOL and wouldn't be surprised if there is a much better way to do it. Fairly new, huh? And programming like a veteran nice work. One little detail: substr: func [s k n /local a] [ a: "" for i k k + n - 1 1 [a: join a pick s i] a ] Do you

[REBOL] Reminder Re:(3)

1999-11-30 Thread icimjs
Hi Andrew, you wrote: Graham wrote: Um, Andrew, don't you think an attribution is in order here since I sent you my Tv-scheduler reminder script this morning! Oh, yes. Inspiration (and most of the schedule) provided by Graham. I just did the hard work! :-) Hard work? In REBOL? What? ;-) Elan

[REBOL] Reminder Re:(5)

1999-11-30 Thread icimjs
Hi Andrew, you wrote: spent the next two hours writing my script, [snip] It must have taken me, oh, about 3 hours to write that script (emails were sent at about 3:45 PM), 2 + 3 / 2 == 2.5 fun: 'programming-in-REBOL-for-two-and-a-half-hours ==

[REBOL] Associative arrays Re:

1999-11-29 Thread icimjs
Hi Keith, you wrote: Am I right in thinking that the only two ways to simulate associative arrays as they exist in languages such as Perl and Python are by 1. Making an object and using it's fields for what would be the indexes 2. Using the select keyword on a block, like so: data: ["key1"

[REBOL] changing server w/set-net (YES!) Re:(5)

1999-11-29 Thread icimjs
Hi Gabriele, you wrote: b: 2 == 2 a: to-set-word 'b == b: a 3 == 3 b == 3 :a == b: Another little gem. Thanks, Elan

[REBOL] More syntax/documentation Q's Re:

1999-11-29 Thread icimjs
At 02:12 PM 11/29/99 -0800, you wrote: Here are three more questions: 1. x/:i syntax can get but not set values in a block... why? Because REBOL does not permit the notation :i: Since i is a word, i: would be setting the i as a reference to some value, at the same time :i is dereferencing

[REBOL] Tail recursion in REBOL 2.0 Re:(2)

1999-11-28 Thread icimjs
Hi Gabriele, REBOL 1.0 was tail recursive, and it was SLOW. This is because, as Joe Marshall expalined to me, handling tail recursion is not an easy thing to do. I'd like to see tail recursion back in REBOL, but I'm not sure if I'd want the complexity of the interpreter to increase. I'd prefer a

[REBOL] changing server w/set-net (YES!) Re:(3)

1999-11-28 Thread icimjs
Hi Gabriele, glad to see you back in good "form" (pun itended ;-). you wrote: That behaviour is not due to form: Correct. What is it due to? Apparently, the way REBOL treats words in parentheses has changed since version 1: Here's what version 1 used to do: word: "meaning" meaning var2:

[REBOL] I'm a beginner :-) Text file manipulation. Re:

1999-11-28 Thread icimjs
Hi Mikael, one simple way to do it: result: make block! 100 remove-these: [ "get rid of this" "remove this" ] foreach line read/lines %test.txt [ foreach pattern remove-these [ if found? find line pattern [clear line] ] if length? line 0 [append/only result line] ] Note that

[REBOL] I'm a beginner :-) Text file manipulation. Re:

1999-11-28 Thread icimjs
Hi Mikael, I forgot to mention: Use write/lines to write the results of my previous example back to file: write/lines %filtered-log.txt result Elan At 02:33 AM 11/29/99 +0100, you wrote: I've just started out with some REBOL programming and the first task I was planning to solve is this: I

[REBOL] problem with lesser? Re:

1999-11-28 Thread icimjs
Hi Alexander, Your return value is strange. I tried it on my machine and I get: list: [ [[%readme.txt 4-Sep-1998/5:37:08+1:00 139 file "^/"] [[%user.r 26-Nov-1999/17:08:58+1:00 330 file "^/"] [] == [[%readme.txt 4-Sep-1998/5:37:08+1:00 139 file "^/"] [%user.r

[REBOL] blocks inside strings Re:

1999-11-27 Thread icimjs
Hi Graham, you're right, it appears that functionality is still missing. At 08:08 PM 11/28/99 +1200, you wrote: The user's guide says with regard to string values ^[words...] executes a block yet, print "^[print now]" on 2.2.0.3.1 results in [print now] rather than executing the block.

[REBOL] Encouraging functional programming Re:

1999-11-26 Thread icimjs
Hi John, REBOL gets a stack overflow, yet the obvious `imperative' version of the program produces the correct answer. If you consider a data set of `dozens' or `hundreds' of elements to be the limits of `reasonable', then, yes, REBOL does just fine. I routinely use datasets of `thousands' or

[REBOL] Private attributes Re:

1999-11-26 Thread icimjs
Hi Ladislav, At 06:32 PM 11/26/99 +0100, you wrote: Hi, Rebols! tried this: trial: func [par] [ do func [/local p] [ p: par make object! [ prt: func [] [print p] ] ] ] trial2: func [par /local p] [ p: par make object! [

[REBOL] Interface and Implementation Re:(3)

1999-11-26 Thread icimjs
Hi Andrew, I had written: Which part surprises you? to which you replied That Interface/Test returns the value of 't! In C++, this wouldn't work, as the function 'Test_Implementation wouldn't be able to find 't in 'Interface. It's disturbing to me as a C++ programmer, but viewing it as a

[REBOL] Encouraging functional programming Re:

1999-11-24 Thread icimjs
Hi John, I think Jeff's example (subject: [REBOL] Functional programming in REBOL Re:): use [pod][ do pod: func [x][ any [all [zero? x 1] all [odd? x x * pod x - 1] pod x - 1] ] 20 ] which, when executed evaluates to: use [pod][ [do pod: func [x][ [

[REBOL] DONT MAKE IT COMMERCIAL!!!! Re:(12)

1999-11-23 Thread icimjs
At 08:46 AM 11/23/99 +, you wrote: OK, OK I have been dually chastized :-) The point that I was trying to make was: I feel that were REBOL to follow the pricing/Marketing example of Turbo Pascal, and price their product so that it is redally available to the masses combined with a top

[REBOL] does CGI work on Macintosh ? Re:(2)

1999-11-23 Thread icimjs
Hi Will, you wrote: no answer = Well does it mean it doesn't ?? From: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Mon, 22 Nov 1999 08:55:51 +0100 To: [EMAIL PROTECTED] Subject: [REBOL] does CGI work on Macintosh ? Hi all 8) Well, would the rebol 2.2 work as CGI with WebStar

[REBOL] [REBOL] changing server w/set-net Re:

1999-11-23 Thread icimjs
Hi x1cthach, you wrote: set-net [ (to-url rejoin [user "@" service]) (to-url service) none none none none] Shouldn't you have the smtp server's address (mail.host.dom, or smtp.host.dom) in third position of set-net [ ... ]? You now have 'none instead. Perhaps that's the problem? Elan

[REBOL] SELMA Anomaly?

1999-11-22 Thread icimjs
Apparently Assembly sent off to emails today: one was sent off at 22 Nov 1999 14:34:07 -0500 the other was sent off at 02:41 PM 11/22/99 -0500 I received the second one earlier today, the first one which was apparently sent off seven minutes earlier just arrived now. Has anyone else noticed

[REBOL] Imperative vs. Functional Re:

1999-11-22 Thread icimjs
Hi John, 1. The examples and scripts submitted to REBOL reflect the preferences that the most active REBOL programmers have acquired over years of imperative programming. Unlike other functional or hybrid programming languages, REBOL has rapidly attracted a surprisingly large following of

[REBOL] Imperative vs. Functional Re:(2)

1999-11-22 Thread icimjs
Hi Petr, how are things going? Maybe calling REBOL a functional language is not as uncommon, as is your hidden name, "a142808", hmm? ;-) In all fairness, John did previously sing off with his full name: John Curtis. My guess is that SELMA is stripping off his name (like it does my name.

[REBOL] simple cgi - help needed Re:(2)

1999-11-17 Thread icimjs
Hi Russ, you wrote: print to-string ((to-integer "12345") + (to-integer "23456")) You don't need the to-string since print accepts any-type: print (to-integer "12345") + (to-integer "23456") 35801

[REBOL] DONT MAKE IT COMMERCIAL!!!! Re:(3)

1999-11-17 Thread icimjs
Hi, you wrote: i am not going to be a student for ever ... ... but once you have finally graduated (how much longer, man...) some other REBOL enthusiast might be a student, right? Wouldn't "how much" play a role? Perhaps there can be an educational discount? Or free for non-commercial use

[REBOL] FW: Psion version..? Re:(3)

1999-11-17 Thread icimjs
Hi Petr, you wrote: Are we near its release date? :-) Will specs be released before /Command release or just with it? I prefer with it ;-). Elan

[REBOL] DONT MAKE IT COMMERCIAL!!!! Re:(3)

1999-11-17 Thread icimjs
CAN WE END THIS PLEASE !!.. Why so nervous? Elan

[REBOL] REBOL/Command pricing

1999-11-17 Thread icimjs
Hi guys, I think that REBOL/Command should be priced between US$29 - US$49. This is a product that should pay for itself through volume, not through small user base + high price per user. People should be able to get REBOL/Core for free, test it, like it, and then *painlessly* upgrade to the

[REBOL] user REBOL?? Re:

1999-11-17 Thread icimjs
At 12:57 AM 11/18/99 +0530, you wrote: i have installed REBOL in /usr/local/ ... when i used REBOL for the first time it created user.r in REBOL_HOME ... which hapens to be .. /usr//local/rebol... now me being root .. i have absolutely .. no problem in using the user.r .. but .. now i have

[REBOL] and another upgrade problem Re:

1999-11-16 Thread icimjs
Hey Kat, you wrote: It took 5 tries here, because when i typed in "yes" , nothing happened. Finally the download happened, but when i clicked on the d:/rebol/readme.htm , it locked up IE5. After 10 minutes, nothing had happened, so i rebooted. Now what? I take it that you were trying to use IE5

[REBOL] import-email Re:(2)

1999-11-11 Thread icimjs
Hi Jeff, you wrote: [snip] The first line there confuses IMPORT-EMAIL. Set-words are being looked for, (from: subject: etc..) and the 'from' on the first line in UNIX mail format and eudora format doesn't have a colon after it. The fix is to either skip a line, or skip forward to a

[REBOL] System object? Re:

1999-11-06 Thread icimjs
Hi max82, you wrote: Hi, another newbie question: how do I use the system object? Could somebody please explain to me how the reboldoc script works? I previously assumed that it did a "help" for each function, but there isn't a help command anywhere, so what does "help" _really_ do? try

[REBOL] Declaring Arrays Re:

1999-10-28 Thread icimjs
Hi Phil, you wrote: [snipped around] j: 3 my-array array[j] my-array: array[:j] I get the error Try j: 3 == 3 my-array array reduce [j] == [none none none] Elan

[REBOL] Rebol website update :-) Re:(7)

1999-10-27 Thread icimjs
Hey fleet, you wrote: Symbol is coming out with some CE systems. Would REBOL work on those? REBOL currently supports CE systems (pretty much all incarnations, see download page.) Elan

[REBOL] 'protect function in beta (bug?) Re:

1999-10-26 Thread icimjs
Hi Russ, you wrote: protect 'help help: none ** Script Error: Word help is protected, cannot modify. ** Where: help: none parse "this is a test" [thru " is " copy help to end] == true print help a test Guessing: protection works by monitoring the native assignment function. parse doesn't

[REBOL] func question Re:(2)

1999-10-25 Thread icimjs
Hi Andrew, you wrote: Rebol has made this exceedingly hard to do (oops, meant "easy"). Try something like this to keep your vars local to your function. display|image: func [ src text.align alt /local src text.align alt ] [ block of code ] Once you declare an argument arg within a

[REBOL] Messenger Weirdness Re:(2)

1999-10-23 Thread icimjs
Hi Bo, BTW, where did you see this example? In the file filter-info which is automatically generated in the mail root directory when messenger runs for the first time. Here are the first lines of this file up to (including) the line in question: Filters: A filtering block should return false

[REBOL] Use of - in prefix notation.

1999-10-22 Thread icimjs
-- Hi folks, Has anyone noticed and previously reported the fact the + and - used as prefix operators act asimmetrically? + performs an addition on two arguments, - turns the first argument into a negative value, discards it and returns the second argument: - 3 4 == 4 Do you find this to be

[REBOL] Just wierdness Take 2 Re:(2)

1999-10-20 Thread icimjs
Hi Bard, Aha. you wrote: The problem is that I'm working with things I don't understand and I can't find good documentation. I found some code to connect to an email server. Something like this: -- x: [ scheme: 'pop user: "srad"

[REBOL] new REBOL.org chat feature. Re:

1999-10-20 Thread icimjs
Hi Jeff, Okay, so I stole a second or two today to tweak the look of the chat room. The chat room is not being advertised on rebol.org's index? What's the URL again? TIA, Elan

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

1999-10-15 Thread icimjs
Hi Jeff, extreme. Elan At 11:56 AM 10/14/99 -0700, you wrote: [snip] Well, you gotta tell PARSE what exactly it is you want it to do. Here's a quick and dirty approach. result: copy [] [using the newer code for foreach ...] foreach [rule thing] [space-piece " " end-piece 'end][

[REBOL] Arrays Re:

1999-10-13 Thread icimjs
At 06:19 AM 10/13/99 +0100, you wrote: How do I access Arrays ?? [snip] for i 1 3 1 [ marray/i/i: 1 ] doesnt work ... and that is because array is not a type. Arrays are blocks. The word array is a convenience function that implements blocks containing blocks. The resulting block can be

[REBOL] print stmt does not happen until after a successive one Re:

1999-10-12 Thread icimjs
Hi Brannon, I'm sure you've figured it out by now. In case you're still surprised: you wrote: In the program below, the print stmt: print join "Hello" name does not occur until after the 2nd ask even though it is coded before the 2nd ask [snip] name: ask "What is your name? " Here you are

[REBOL] Pick is working. but for some reason the equal? is not catched the equality... Re:

1999-10-12 Thread icimjs
At 08:14 PM 10/11/99 -0700, you wrote: I know that pick secret-words 1 is choosing "camel" and I am typing "camel" so I don't know why the first option of the either is not being chosen. Some guru please help!! [snip] either (equal? guess [pick secret-words 1]) The block around pick

[REBOL] [REBOL] interfaces to c/fortran Re:(2)

1999-10-11 Thread icimjs
At 11:43 AM 10/11/99 -0700, you wrote: Howdy Petr: In REBOL and "hw" communication ... thread Jeff mentioned there is going to be some option for us to support something, but I clearly don't understand, what's it gonna be about. :-) Jeff, could you tell, or is it just a secret

[REBOL] system call? how? Re:(5)

1999-10-11 Thread icimjs
Hi Kat, you wrote - very much to the point -: I like it :-) Robert, do you think it could be merged with XML-RPC/SOAP? Elan

[REBOL] if (back tail path) / [append path /] Re:(2)

1999-10-11 Thread icimjs
Hi Petr, you wrote: if (last path) "/" [append path "/"] You have to be careful with 'last. if path is empty, then 'last will cause an error message, whereas (back tail path) will evaluate to an empty block: path: [] == [] if (back tail path) [print "wow."] wow. if (last path) [print

[REBOL] how could a word not have a value? I just loaded the $#@!@$!%*%^$ file! Re:(4)

1999-10-10 Thread icimjs
Hi Russell, good to hear from you. Look, you are confusing two things: 1. There is a REBOL type called path! 2. Hierarchical Filesystems commonly refer to a notation that specifies a hierarchy of directories (or folders) as a path, i.e. c:\windows\system. The REBOL user's guide sometimes speaks

[REBOL] where's the regular expressions? Re:

1999-10-10 Thread icimjs
At 06:47 AM 10/10/99 -0700, you wrote: grumble I have not seen any mention of a regexp library for REBOL yet /grumble Have you checked 'parse yet? (See online documentation to get rolling). Elan

[REBOL] why cant rebol print a function word Re:

1999-10-09 Thread icimjs
Hi Terrence, you wrote: You would think REBOL would print out a bound function just as it did the bound value... otherwise you might think it has no value at all. 1. What you can do is use source, probe or print mold :f f: func [x y] [x = y] source f f: func [x y][x = y] probe :f func [x

[REBOL] how could a word not have a value? I just loaded the $#@!@$!%*%^$ file! Re:

1999-10-09 Thread icimjs
Hi Terrence, you wrote: load http://rebol.org/file/recursive-dir.r load http://rebol.org/file/recursive-dir.r connecting to: rebol.org [...] == [ recursive-files: function [path [file!]] [files file file-list] [ files: load path file-list: to-block 1 ... recursive-files

[REBOL] Recursion Re:

1999-10-08 Thread icimjs
Hi Ingo, which Scheme book are you reading - the one by Dybvig? I recall that some time ago (nine, ten months?) someone on this list did confirm that REBOL is tail recursive. I don't recall who said that or how knowledgeable that person was ... Elan At 10:40 PM 10/8/99 +0200, you wrote: Hi

[REBOL] ping Re:

1999-09-30 Thread icimjs
At 11:23 AM 9/30/99 +0100, you wrote: Quick question. Is there a ping protocol available? As far as I recall the problem with ping is that under Unix based systems ping has to temporarily assume super user privileges. Elan

[REBOL] DONT MAKE IT COMMERCIAL!!!! Re:(5)

1999-01-17 Thread icimjs
Hi Slong, you wrote: Starting with the last reveision, SuSE is selling through CompUSA at $29 US. I think SuSE doesn't get much revenue this way, but the book and six CD are sure moving! I believe SuSE reported $15Mio. in revenue for last year. That's not bad for printing a few CD's,

[REBOL] DONT MAKE IT COMMERCIAL!!!! Re:(7)

1999-01-17 Thread icimjs
Hi Paul, you wrote: I agree hole heartedly Elan. In the back of my mind I am seeing "Turbo Pascal". I don't know if you where around when it was popular, but I was in college at the time. I was an Assembler programmer when it came out. Played around with version 1.0, liked it, but

[REBOL] REBOL/Command pricing Re:(2)

1999-01-16 Thread icimjs
Hi Petr, you wrote: snip However, REBOL Technologies should distinguish several cases of pricing: - single users, wanting to use REBOL/Command non commercially, $0.0 - commercial single purpose usage - e.g. - some set of scripts running on one server machine how about client machine? In both

[REBOL] Parse: Recursion

1999-01-16 Thread icimjs
Hi guys, parse permits recursive rules: rule: [ something | something-else | rule ] I can also say: parse/all code [some rule] I understand how [some rule] works. It has allowed me to do everything I have been trying to do with parse so far. On the other hand, I don't understand when I

[REBOL] Pros and cons. Heh Re:(2)

1999-01-16 Thread icimjs
Hi -jeff, you wrote: I could go on all day... :-) ... please do. I sure enjoy reading it ... :-) Elan

[REBOL] DONT MAKE IT COMMERCIAL!!!! Re:(5)

1999-01-16 Thread icimjs
Hi Porter, I pretty much agree with most of what you say here. I'd say our differences are interesting but irrelevant for this thread. A last thought: I believe there are many ways REBOL Tech can generate income for itself through REBOL, even if they never sell a signle copy. The basis for any

[REBOL] parse question Re:

1999-01-16 Thread icimjs
At 11:41 PM 11/18/99 +0100, you wrote: I've got a little parse problem. I try to parse something like a1=1, a2=2, a3=3, a4 where a1 to a3 have to be present, a4 may or may not be there, Two questions: 1. If we have a1= does the next digit have to be 1, or could we have: a1=2, a2=3, a3=8 ...?

[REBOL] parse question Re:

1999-01-16 Thread icimjs
At 11:41 PM 11/18/99 +0100, you wrote: I've got a little parse problem. I try to parse something like a1=1, a2=2, a3=3, a4 where a1 to a3 have to be present, a4 may or may not be there, it is unspecified, which is at which position, and they may be on subsequent lines, without the commas

[REBOL] Interesting Insights.... Re:

1999-01-03 Thread icimjs
At 10:30 PM 11/3/99 -0700, you wrote: An interesting and insightful story about REBOL can be found in the latest release of "Linux World" at: http://www.linuxworld.com/linuxworld/lw-1999-10/lw-10-rebol.html Is it still scheduled for Monday, November 8th? Can't wait ... Elan

[REBOL] New reboldoc.r Re:(2)

1999-01-02 Thread icimjs
At 09:13 PM 11/4/99 -0500, you wrote: When trying to do a "do %reboldoc.r", I received the following result: Script: "REBOL Dictionary" (2-Nov-1999/23:06:40) 328 words in dictionary ** Script Error: Cannot use path on none! value. ** Where: print info/size == Please let us know when the error

<    1   2   3