[REBOL] Re: sort/compare

2003-12-10 Thread Ladislav Mecir
Anton Rolls napsal(a): In any case, I have implemented a customized shell-sort for the job, working fine so far. Regards, I have got a Merge Sort implementation for quite a long time (from 1.x days). It works fast (no exceptional cases), uses only one additional block and it is stable.

[REBOL] Re: [REBOL.org] Recent changes

2003-12-10 Thread SunandaDH
Ammon: Information like this gives me an idea of what ppl might be looking for and can't find and are therefore things that need to be addressed. I may just work on some scripts for searches that found few or no results. I did the stats because I wanted to know that myself. I was

[REBOL] Divide a file

2003-12-10 Thread Marcelo Fontes Castellani
Hi guys I need to upload an file to my FTP site but I need to divide this file in multiple files. For example, if file have 2048 KB I need to divide it in 2 (1024 and 1024). I can do it with Rebol, ok ? If I can, how can I do ?... Thanks and a hug... -- To unsubscribe from this list, just

[REBOL] Re: page-breaks in html or pdf?

2003-12-10 Thread Gabriele Santilli
Hi Gregg, On Friday, December 5, 2003, 6:52:57 PM, you wrote: GI In PDF, it's something like /Page, but may need to combine with GI other things. Not sure. Gabriele might be able to say, since he did GI PDF-maker. Well, it's not that you can insert page breaks somewhere; a PDF document is

[REBOL] Handling interface events and tcp connections.

2003-12-10 Thread Bruno G. Albuquerque
Hello. Back to my never-ending problems on using Rebol (hey, I am learning!), I just hit another problem. I have this Rebol program that connects to a server, waits for it (the server) to send some data and when it receives this data it prints it. Now I need to create a view interface for it.

[REBOL] Re: Divide a file

2003-12-10 Thread Al TS
Please find this little part of code : REBOL [] fsplit: get in context [ fsplit: func [ {split the file in files with names root-name1 root-name2 ... of block-size length. } file root-name block-size /local source-file data

[REBOL] RES: Re: Divide a file

2003-12-10 Thread Marcelo Fontes Castellani
Some doubts... It's run under rebol/core ? I'll distribute this script to a client. How he can do to run it without open rebol, just with a command line ? Marcelo, just a begginer... -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] nome de Al TS Enviada em:

[REBOL] Re: Text Area scroll.

2003-12-10 Thread Gabriele Santilli
Hi Carlos, On Tuesday, December 9, 2003, 1:24:50 PM, you wrote: CL I remember last time I asked here just the same CL and unfortunately I got only one reply from the list CL that didn't solve the problem at all. So everyone forgot about the EVOScript? ;-) Regards, Gabriele. -- Gabriele

[REBOL] Re: Handling interface events and tcp connections.

2003-12-10 Thread Volker Nitsch
Am Mittwoch 10 Dezember 2003 14:01 schrieb Bruno G. Albuquerque: Hello. Back to my never-ending problems on using Rebol (hey, I am learning!), I just hit another problem. I have this Rebol program that connects to a server, waits for it (the server) to send some data and when it receives

[REBOL] Re: Text Area scroll.

2003-12-10 Thread Carlos Lorenz
Phil, Am I supposed to initiate words tx and ls first? Here I got an error Carlos Em Qua 10 Dez 2003 01:07, [EMAIL PROTECTED] escreveu: Hi Bruno/Carlos, Here is another text-area scroll demo rebol [ Title: Area with scroller Author: Phhil Bevan Date: 10-Dec-2003

[REBOL] Re: RES: Re: Divide a file

2003-12-10 Thread Carlos Lorenz
Marcelo I guess once your client has REBOL/Core he/she can invoke it passing your script as an argument in command line. Just create a batch file to do it Carlos Lorenz Em Qua 10 Dez 2003 14:30, Marcelo Fontes Castellani escreveu: Some doubts... It's run under rebol/core ? I'll

[REBOL] RES: Re: RES: Re: Divide a file

2003-12-10 Thread Marcelo Fontes Castellani
Hi Carlos I'm a newbie in Rebol... Well, I do something with cgi but never do something like an .r file to distribute. In Rebol/Core I do: do %fsplit.r fsplit system/script/path/arquivo.asd asdfile 1024 And it's works... but I don't know how I can do it in a command prompt line. Can you talk

[REBOL] Rebol/Gotcha Handling previously defined words

2003-12-10 Thread Tim Johnson
Well, I did it again, and punished myself severely for the transgression, but I can't bring back the time I lost I created a subroutine in a context and called it 'reduce. And I forgot to either redefine or provide an absolute path for system/words/reduce. Bad Tim, bad, bad Tim! This poses

[REBOL] Re: Rebol/Gotcha Handling previously defined words

2003-12-10 Thread Carl Read
On 11-Dec-03, Tim Johnson wrote: Well, I did it again, and punished myself severely for the transgression, but I can't bring back the time I lost I created a subroutine in a context and called it 'reduce. And I forgot to either redefine or provide an absolute path for

[REBOL] Re: Rebol/Gotcha Handling previously defined words

2003-12-10 Thread Ammon Johnson
No, because he isn't redefining the word in the global context but within another context. In order to access the original reduce from within the context he must use system/words/reduce. HTH! ~~Ammon - Original Message - From: Carl Read [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

[REBOL] Re: Rebol/Gotcha Handling previously defined words

2003-12-10 Thread Volker Nitsch
Hi Tim, Am Mittwoch 10 Dezember 2003 20:30 schrieb Tim Johnson: Well, I did it again, and punished myself severely for the transgression, but I can't bring back the time I lost I created a subroutine in a context and called it 'reduce. And I forgot to either redefine or provide an

[REBOL] Re: Rebol/Gotcha Handling previously defined words

2003-12-10 Thread Volker Nitsch
Am Mittwoch 10 Dezember 2003 20:30 schrieb Tim Johnson: Quickly fixing myself: (forgot return-value, added object to checklist) my.context: func [[catch] block /local ctx] [ ctx: context block foreach word first ctx [ if all [ value? w: in system/words word

[REBOL] Error trapping

2003-12-10 Thread Carl Read
To capture an error object you can use something like this... error? err: try [1 / 0] == true probe disarm err make object! [ code: 400 type: 'math id: 'zero-divide arg1: none arg2: none arg3: none near: [1 / 0] where:

[REBOL] Re: Error trapping

2003-12-10 Thread Ingo Hohmann
Hi Carl, depends on how you define simpler ... error? set/any 'err try [1 / 0] == true error? set/any 'err try [print ] == false I just assume that using set/any fits for your definition ;-) Kind regards, Ingo Carl Read wrote: To capture an error object you can use something like

[REBOL] Re: RES: Re: RES: Re: Divide a file

2003-12-10 Thread Volker Nitsch
Am Mittwoch 10 Dezember 2003 20:59 schrieb Marcelo Fontes Castellani: Hi Carlos I'm a newbie in Rebol... Well, I do something with cgi but never do something like an .r file to distribute. In Rebol/Core I do: do %fsplit.r fsplit system/script/path/arquivo.asd asdfile 1024 And it's

[REBOL] Re: Text Area scroll.

2003-12-10 Thread Anton Rolls
Use a newer View beta. I think you are using View 1.2.1 to test this ? It requires scroller style, which is only available in view betas newer than 1.2.1 Anton. Phil, Am I supposed to initiate words tx and ls first? Here I got an error Carlos Em Qua 10 Dez 2003 01:07, [EMAIL PROTECTED]

[REBOL] Re: sort/compare

2003-12-10 Thread Anton Rolls
Hi Ladislav, I am not going to change my sort now, because I would need to customize it again, but mergesort would be a good reference to have in the library at any rate. Shellsort performance is pretty good, anyway. Anton. Anton Rolls napsal(a): In any case, I have implemented a

[REBOL] [vid] Re: Text Area scroll.

2003-12-10 Thread philb
Hi all, Does anyone know why I had to insert the ugly line if all [sl/data = 1 tmp = 1] [tmp: 0.999] in this code. if this line is commented out then even though the scroller data is set to 1 and the face shown, the dagger in the scroller is not moved to the bottom? To see this,

[REBOL] Re: Rebol/Gotcha Handling previously defined words

2003-12-10 Thread Tim Johnson
* Volker Nitsch [EMAIL PROTECTED] [031210 12:08]: Am Mittwoch 10 Dezember 2003 20:30 schrieb Tim Johnson: Quickly fixing myself: (forgot return-value, added object to checklist) Hiya Volker: That looks like the right track to me. Must check that out as soon as I'm done waltzing with

[REBOL] New dialect for building HTML and XML tags

2003-12-10 Thread A J Martin
Hi! I've just discovered a new dialect in Rebol suitable for building HTML and XML tags in conjunction with my ML dialect. Dialect: [ a href http://www.rebol.com title Rebol HQ A link to Rebol HQ! ] Note that the tag contents are between two angle brackets, and look like