[REBOL] Ladislav: Interpreter Essay

2001-10-16 Thread Robbo1Mark
Hello Ladislav, Just read your new Interpretation essay, very good work, I love the way you can skillfully describe low level REBOL behaviour with high level descriptions and examples and for this you deserve credit. Just one minor improvement I would like to suggest to your text. You stated

[REBOL] Re: Ladislav: Interpreter Essay

2001-10-16 Thread Steve Shireman
May I ask where this essay is located? Thanks, Steve Shireman [EMAIL PROTECTED] wrote: Hello Ladislav, Just read your new Interpretation essay, very good work, I love the way -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject,

[REBOL] Re: func args by ladislav

2001-10-16 Thread Romano Paolo Tenca
- Original Message - From: Ladislav Mecir [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, October 15, 2001 10:19 PM Subject: [REBOL] Re: func args by ladislav Hi Romano, Hi, Ladislav I have read your beatiful new article about func args. There is at least one thing with

[REBOL] Rebol CGI on PWS

2001-10-16 Thread Thorsten Moeller
Hi, i have a Win98 and PWS running and like to test some Rebol CGI's. The problem i have is that calling the script ends up in an /View-Console Window. Is there something i missed to configure? I have /view and /core installed, but poiting to /core in CGI's first line. Can anybody help or

[REBOL] Re: Ladislav: Interpreter Essay

2001-10-16 Thread Ladislav Mecir
Hi Steve, May I ask where this essay is located? Thanks, Steve Shireman My essays are on Reb/Ladislav(preferable). This is: http://www.sweb.cz/LMecir/interpret.html Cheers Ladislav P.S. I would prefer Set-words to behave like Get-words, instead of being Word-active. It would be more

[REBOL] Re: Ladislav: Interpreter Essay

2001-10-16 Thread Ladislav Mecir
Hi Mark, You stated When the interpreter finishes evaluation of all values contained in the block, the last obtained value becomes the result. Almost true, but not quite. What if the last value in a block is unset! I think, that it is true. See: type? do [print 1] 1 == unset! Cheers

[REBOL] Re: func args by ladislav

2001-10-16 Thread Ladislav Mecir
Hi Romano, I don't think, I must change your mind, but there is a difference you probably don't see. It is possible to define a Rebol function (a FUNCTION! datatype value to be exact), that takes one argument and evaluates it: do-f-0: func [f] [ f ] 1) DO-F-0 is able to evaluate any

[REBOL] Newbie questions:

2001-10-16 Thread Peter Rochon
Hi all: New to Rebol and new to programming. A few questions for the Rebol gurus: 1) Can anyone point me to a commercial/shareware application built using Rebol? I would like to see the packaging and trial functions. 2) Can Rebol View render html pages? Or do I need to use an external

[REBOL] Ladislav: Interpreter Essay

2001-10-16 Thread Robbo1Mark
Hi Ladislav, I still think my original posting is correct as DO does EXIT if the last value in a block is an UNSET values. In your example UNSET! is a datatype! value NOT an UNSET value. See type? do [print 1] 1 == unset! type? type? do [print 1] 1 == datatype! unset? type? do [print

[REBOL] Re: func args by ladislav

2001-10-16 Thread Romano Paolo Tenca
Hi Ladislav, Hi Romano, I don't think, I must change your mind, but there is a difference you Don't worry! probably don't see. I hope. A new thing to learn. It is possible to define a Rebol function (a FUNCTION! datatype value to be exact), that takes one argument and evaluates it:

[REBOL] Re: Ladislav: Interpreter Essay

2001-10-16 Thread Ladislav Mecir
Hi Mark, I may not understand what you are trying to tell me, but I was saying, that all the following Rebol expressions: ; # 1 print 1 ; # 2 do [print 2] ; # 3 () ; # 4 f: does [exit] f ; # 5 first reduce [()] all yield identical Rebol value. The

[REBOL] En Masse block operations

2001-10-16 Thread Tim Johnson
Hello All: I would like to apply the same operation to all members of a nested block. ;Example: blk: [[1 2 3 4] [5 6 7 8] [9 10 11 12] [13 14 15 16 17] one] blk: do-all blk next ; set all members to next element ;result sought: [[2 3 4] [6 7 8] [10 11 12] [14 15 16 17] ne] blk: do-all

[REBOL] Re: Ladislav: Interpreter Essay

2001-10-16 Thread Robbo1Mark
Ladislav, sorry about the confusion, I your new essay you said that DO returns the last value in a block! as the result. But you can never get UNSET returned as the result of an expression ie == unset sure you can get == [unset] or == unset! but these are block! and datatype! values. When

[REBOL] Re: func args by ladislav

2001-10-16 Thread Romano Paolo Tenca
Now i've understand. That function exists: it is 'do also if we can't write it. I'll think it. --- Ciao Romano - Original Message - From: Ladislav Mecir [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 16, 2001 4:35 PM Subject: [REBOL] Re: func args by ladislav Hi

[REBOL] Re: En Masse block operations

2001-10-16 Thread Joel Neely
Hi, Tim, Tim Johnson wrote: Hello All: I would like to apply the same operation to all members of a nested block. ;Example: blk: [[1 2 3 4] [5 6 7 8] [9 10 11 12] [13 14 15 16 17] one] blk: do-all blk next ; set all members to next element ;result sought: [[2 3 4] [6 7 8] [10

[REBOL] Re: En Masse block operations

2001-10-16 Thread Gregg Irwin
Hi Tim, I think map will do what you want. ; Larry Palmiter's version but Ladislav and Andrew also have them map: func [fn blk args /local result][ result: copy [] repeat el blk [append/only result fn :el args] return result ] test: [[1 2 3 4] [5 6 7 8] [9 10 11 12] [13 14 15 16

[REBOL] Re: func args by ladislav

2001-10-16 Thread Joel Neely
Hi, Romano, Romano Paolo Tenca wrote: Upto here, we agree. Functions have a fixed number of args. Right? No, not AFAICT... I don't understand. If the answer is no, functions have always a fixed number of args, like i think. You think that this is false. So, you should be able to

[REBOL] Re: Newbie questions:

2001-10-16 Thread Ryan Cole
Peter Rochon wrote: Hi all: New to Rebol and new to programming. A few questions for the Rebol gurus: 1) Can anyone point me to a commercial/shareware application built using Rebol? I would like to see the packaging and trial functions. I haven't seen any that are packaged up, but

[REBOL] Re: En Masse block operations

2001-10-16 Thread Ryan Cole
Dont use 'foreach. 'Foreach makes a copy of the value, bungling your method. Use 'forall or 'repeat. I like using 'repeat for this sort of thing because I can do it without the awkward [block: head block] at the end. Also you might want to use 'block? instead of 'series? to validate whether

[REBOL] Re: En Masse block operations

2001-10-16 Thread Tim Johnson
On Tue, Oct 16, 2001 at 11:18:05AM -0600, Gregg Irwin wrote: Hi Tim, I think map will do what you want. Yes indeed. It's exactly what I want. :) ==I note a bonus: I think I'm seeing how one passes a function as an argument. Thank you Gregg ; Larry Palmiter's version but Ladislav

[REBOL] Area

2001-10-16 Thread Paul Tretter
Ok. I have this problem where I paste a large amount of text in an area box 500x500. Then I send it thru an encryption process which changes the data and does a show on the same area window. The problem is that I dont see the data unless I use the arrow keys to move up and then it scrolls

[REBOL] En Masse Modifier

2001-10-16 Thread Ryan Cole
Since this type of thing seems the like the fashionable function to write these days, I thought that I had better offer my own version quick before I get out of style... ; Ryan's en masse modifier. Changes original block modify: func [blk fun][ head forall blk [blk: back change/part blk

[REBOL] Re: En Masse block operations

2001-10-16 Thread Ingo Hohmann
Hi Tim, by now you've heard about map more than once, one other possibility would be, e.g. Once upon a time Tim Johnson spoketh thus: Hello All: I would like to apply the same operation to all members of a nested block. ;Example: blk: [[1 2 3 4] [5 6 7 8] [9 10 11 12] [13 14 15 16

[REBOL] Re: func args by ladislav

2001-10-16 Thread Romano Paolo Tenca
Hi Joel, Upto here, we agree. Functions have a fixed number of args. Right? No, not AFAICT... We are not speaking of any-type! args. Here's a function with a varying (within bounds) number of args... zzz: func [a [any-type!] b [any-type!]] [ Trace: zzz (word) Trace: (end)

[REBOL] Re: Ladislav: Interpreter Essay

2001-10-16 Thread Ladislav Mecir
Hi Mark, you didn't waste my time. But you can never get UNSET returned as the result of an expression ie == unset That is an error, IMO. There are expressions that yield the (Unset) value. The only difference between this value and any other value is, that the interpreter, when an

[REBOL] Re: Block/array manipulation

2001-10-16 Thread Ladislav Mecir
Hi Joel, Joel Neely wrote: stuffstats: func [b [block!] /local result where] [ result: copy [] foreach item b [ either found? where: find result item [ change next where 1 + second where ][ append

[REBOL] REBOL Press Release today

2001-10-16 Thread Vos, Doug
new today! http://www.rebol.com/news1a16.html -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.

[REBOL] Re: Rebol CGI on PWS

2001-10-16 Thread Phil Hayes
Are you using the -cs command line switches ? Phil -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Thorsten Moeller Sent: 16 October 2001 11:49 To: [EMAIL PROTECTED] Subject: [REBOL] Rebol CGI on PWS Hi, i have a Win98 and PWS running and like to

[REBOL] Re: SHEEP vs Rebol (Pythagoras Tree)

2001-10-16 Thread Petr Krenzelok
- Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 16, 2001 9:45 PM Subject: [REBOL] Re: SHEEP vs Rebol (Pythagoras Tree) On Mon, Oct 15, 2001 at 07:11:32AM +1000, Allen Kamp wrote: Hi Gregg, I think the modified script below will improve

[REBOL] GET buffers

2001-10-16 Thread office
I posted this last month but didn't get any takers -I'm still in need of advice. I have a CGI written usint the GET function, works like it should except it is clipping data at 2040 bytes. This is a common CGI problem except I once saw an article writen about REBOL adding buffer space by

[REBOL] Re: En Masse block operations/foreach bug?

2001-10-16 Thread Tim Johnson
On Tue, Oct 16, 2001 at 02:09:26PM -0500, Joel Neely wrote: Hi, Tim, Tim Johnson wrote: I see Ryan's opinion not to use 'foreach. Could you comment on his opinion on this. (I've seen references to a foreach bug and I almost never use it

[REBOL] Re: GET buffers

2001-10-16 Thread Tim Johnson
On Tue, Oct 16, 2001 at 06:51:21PM -0500, office wrote: I posted this last month but didn't get any takers -I'm still in need of advice. I have a CGI written usint the GET function, works like it should except it is clipping data at 2040 bytes. John: I don't have a solution for your

[REBOL] Re: server redirect rebol in CGI mode

2001-10-16 Thread Kenneth LO
2001/10/6 PM 09:15:59, Will [EMAIL PROTECTED] wrote: when I do a server redirect in a cgi, everything goes fine but the process that sent the redirect doesn't quit. This code works for for me. No hangover. rebol[] loc: last parse system/options/cgi/query-string = replace/all loc \ / print

[REBOL] Re: Rebol Home Page

2001-10-16 Thread Kenneth LO
2001/10/3 PM 07:46:52, Jason Cunliffe [EMAIL PROTECTED] wrote: I am wondering how hard it would be to port that to Rebol http://www.fluffy.co.uk/fs/ ..and if Rebol is suitable or not for a site-wide search engine? Actually fluffysearch is quite good and it's open source. There's a bug in fcp.pl

[REBOL] Re: Local database engine

2001-10-16 Thread Kenneth LO
2001/10/13 AM 10:58:30, Sanyi [EMAIL PROTECTED] wrote: Is there a local database engine in Rebol where I could store data pulled from Oracle MSSQL etc. ODBCSocketServer is the way. Quite stable on my win98. -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with