[REBOL] Fun with Win32

2000-08-28 Thread chaz
Run rebmsgbox.exe Then run rebmsgbox.r Then run rebmsgbox.exe again. rebmsgbox.exe REBOL [ Title: "REBOL Message Box" Author: "chaz" Date: 28-Aug-2000 File: %rebmsgbox.r Email: [EMAIL PROTECTED] Purpose: { Creates a Win32 message box with a message of your

[REBOL] Galt and Andrew's discussion of Religion and Rebol

2000-08-28 Thread Al . Bri
Galt wrote: > Andrew, you must be religious. One could always check out my site... :-) > You believe in the Perfect Rebol! Why not? It's a good enough way for me. I'd like to see a better way, and would enthusiastically accept it. > I don't care what feature it is or whether it's working broke

[REBOL] Rebol/Command Doc Re:(2)

2000-08-28 Thread allen
- Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, August 27, 2000 6:45 PM Subject: [REBOL] Rebol/Command Doc Re: > > >>Does anyone know where i can get Any REBOL/Command > Documentation? > > Try looking here:- > http://www.janita.com.au/rebolforces/doc

[REBOL] Meaning, Value, Binding and Context Re:(2)

2000-08-28 Thread Al . Bri
Gabriele wrote: > If you write that as: > > bind blk in b 'self > > it is much less confusing. It is. The line: bind blk in b second first b comes from my earlier efforts in getting nested and copied objects to work properly. At one stage I wanted to make sure that I was binding dia

[REBOL] Creating Servers in Rebol on Linux Re:(3)

2000-08-28 Thread kevin
On Mon, 28 Aug 2000 [EMAIL PROTECTED] wrote: > nope when i do that it runs the server but the html calling page just waits > and waits as it tries to contact the server > > i also tried just the & without the null stuff and it does the same thing You say the server runs. What happens if you t

[REBOL] Creating Servers in Rebol on Linux Re:(2)

2000-08-28 Thread webmaster
nope when i do that it runs the server but the html calling page just waits and waits as it tries to contact the server i also tried just the & without the null stuff and it does the same thing At 04:13 PM 8/28/00 -0700, you wrote: > > How do I make the thing run resident so I can start or st

[REBOL] forming a string from a block but inserting a separation character Re:

2000-08-28 Thread brian . hawley
[EMAIL PROTECTED] wrote: >s: [ 9 8 7 6 5 4 3 2 1 ] > >How do I create the string "9.8.7.6.5.4.3.2.1" from it? A simple way, good for most purposes, but incorrect when the elements contain spaces: new-s: replace/all form s " " "." A faster way, and correct when the elements contain spaces:

[REBOL] CGI: reading POST-method data with read-io Re:(7)

2000-08-28 Thread tim
Thank you Holger! [EMAIL PROTECTED] wrote: > > of code for reading POST input from CGI as follows: > > [tmp: tmp - read-io system/ports/input buffer tmp] > > What would be a safe alternative, please? > > For stdin/out you may still have to use read-io to be fully > interoperable across p

[REBOL] Creating Servers in Rebol on Linux Re:(2)

2000-08-28 Thread christmn
You may have to put it in a shell wrapper using nohup and putting it in background. The telnet session sends a HUP signal on disconnect and this is killing your server. You can also put the shell script in the boot startup directory with start/stop args then write your cgi to execute the scri

[REBOL] Jobs/projects list? Re:(3)

2000-08-28 Thread Alfred_Pang
Practically all file viewers on UNIX/Linux can view .ppm. I used to have a viewer for Windows but I can't find it anymore. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, August 28, 2000 4:10 PM To: [EMAIL PROTECTED] Subject: [REBOL] Jobs/projects list

[REBOL] CGI: reading POST-method data with read-io Re:(6)

2000-08-28 Thread holger
On Fri, Aug 25, 2000 at 04:51:17PM -0800, [EMAIL PROTECTED] wrote: > Hello: > When Holger speaks, I pay attention. I have the following line > of code for reading POST input from CGI as follows: > ;=== > either tmp > 0 > [ > buffer: make string! (tmp + 10) ;

[REBOL] major Rebol programming projects Re:(2)

2000-08-28 Thread holger
On Tue, Aug 29, 2000 at 01:09:52AM +0200, [EMAIL PROTECTED] wrote: > > Don't bet on REBOL's built in image processing. It's not enough in any > way. It has limited set of effects, it just supports only three types of > image formats, with ability to save just as an bitmap. The next experimental

[REBOL] Creating Servers in Rebol on Linux Re:

2000-08-28 Thread kevin
> How do I make the thing run resident so I can start or stop it via remote cgi? > > Right now, I must telnet in and run manually, if I close telnet client, > server shuts down. When you start your script, you should detach it from the console so that when you log out the process continues run

[REBOL] Creating an absolute path filename via join on directory and filename Re:(3)

2000-08-28 Thread allen
There is a new function in core 2.3 which makes thing easier when dealing with dirs that may not have "/" on the end ? dirize USAGE: DIRIZE path DESCRIPTION: Returns a copy of the path turned into a directory. DIRIZE is a function value. ARGUMENTS: path -- (Type: file string

[REBOL] Jobs/projects list? Re:(2)

2000-08-28 Thread RChristiansen
OK. What kind of application can I use to view a .ppm (portable pixel map) file? > I have finished up a good chunk of the GML parsing (grammer.r) > and started work on the renderer (renderer.r and threed.r). However > RealLife and WeakMathSkills is preventing me from finishing it up. > > 'do %

[REBOL] major Rebol programming projects Re:

2000-08-28 Thread Petr . Krenzelok
[EMAIL PROTECTED] wrote: > I have been spending the last month trying to learn to create web > pages with Dreamweaver and Fireworks. While both of these are > incredible in many ways, they also show up the defects in the > HTML-Javascript-Flash-Shockwave-CSS-CGI way of creating things. The > too

[REBOL] Jobs/projects list? Re:

2000-08-28 Thread allen
- Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 29, 2000 8:17 AM Subject: [REBOL] Jobs/projects list? > Is there a jobs/projects needing help, talent available list for Rebols > (Rebol programmers)? > Jeff Rubin, CTO & Co-Founder > Audiopia >

[REBOL] Using the check-box in REBOL/view Re:

2000-08-28 Thread allen
>- Original Message - >From: <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Tuesday, August 29, 2000 4:18 AM >Subject: [REBOL] Using the check-box in REBOL/view >Can someone give me an easy example that uses a check-box to change a variable from "1" to "2" and >label the variable?

[REBOL] Jobs/projects list? Re:

2000-08-28 Thread Alfred_Pang
> Is there a jobs/projects needing help, talent available list for Rebols > (Rebol programmers)? Why yes! > The Third Annual ICFP Programming Contest > http://www.cs.cornell.edu/icfp/ > > 'On Saturday, August 26, 2000 at 5PM EST a challenge task will be > posted on the Internet and mailed to a

[REBOL] Jobs/projects list? Re:

2000-08-28 Thread ryanc
> Is there a jobs/projects needing help, talent available list for Rebols > (Rebol programmers)? No, not thats been announced. Why, do you want to start one up? --Ryan Ryan Cole Programmer Analyst www.iesco-dms.com 707-468-5400

[REBOL] Windows Scripting Host Re:(3)

2000-08-28 Thread ryanc
I was once a VB programmer. Its an endless loop trap. --Ryan Ryan Cole Programmer Analyst www.iesco-dms.com 707-468-5400

[REBOL] Jobs/projects list?

2000-08-28 Thread webmaster
Is there a jobs/projects needing help, talent available list for Rebols (Rebol programmers)? Jeff Rubin, CTO & Co-Founder Audiopia Shutup and Listen... http://www.audiopia.com also check out my personal site Brainbyte! http://www.brainbyte.com

[REBOL] Windows Scripting Host Re:(2)

2000-08-28 Thread jhagman
Quoting [EMAIL PROTECTED] ([EMAIL PROTECTED]): > Russell [EMAIL PROTECTED] wrote: > >Does REBOL/core or REBOL/view us the Windows Scripting Host (a feature of > >Win98). I want to disable it to prevent virus infections. > > Unfortunately REBOL doesn't support the ActiveScript interface. Yes, un

[REBOL] Rolling your own ideal looper: does Repeat still have a bug? Re:(4)

2000-08-28 Thread galtbarber
The original question, which may have been posted by Paul Tretter, but I don't remember exactly, was something like this: a: "101" foreach item a [ print index? item ] Now, we all know why that doesn't work. This does, but probably doesn't really address his concern: forall a [ print index?

[REBOL] Creating Servers in Rebol on Linux Re:(2)

2000-08-28 Thread ryanc
Jeff, This one can be started and stopped. It also traps any errors in the forever loop, making it somewhat impervious. Also note the complete lack of security. --Ryan rebol [ Title: "Even More Slightly Upgraded SID Server" ] running: FALSE listen-port: open/lines tcp://:8080 max-sid: "5000

[REBOL] First page about REBOL in Brazil Re:

2000-08-28 Thread ralph
looks good, Carlos! > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Monday, August 28, 2000 4:00 PM > To: [EMAIL PROTECTED] > Subject: [REBOL] First page about REBOL in Brazil > > > Hi friends, > > The first official site about REBOL in Brasil is already

[REBOL] Creating an absolute path filename via join on directory and filename Re:(3)

2000-08-28 Thread galtbarber
Shouldn't they return the same thing on Rebol? It seems like they should. Is this a bug? I think RT still have some philosophy stuff to work out regarding platform issues, meaning of to binary! and sharing objects created on one system with another system... Even if it is cool for Unix wizard

[REBOL] major Rebol programming projects

2000-08-28 Thread jackseay
I have been spending the last month trying to learn to create web pages with Dreamweaver and Fireworks. While both of these are incredible in many ways, they also show up the defects in the HTML-Javascript-Flash-Shockwave-CSS-CGI way of creating things. The tools are huge, complex beasts. You have

[REBOL] Rolling your own ideal looper: does Repeat still have a bug? Re:(4)

2000-08-28 Thread lmecir
Hi, being asked I try to explain my changes. 1. Thanks, Gabriele, I forgot to use one more Throw, but the original is needed too. I used Throw attribute to make sure, that any Return or Exit contained in code like: f: does [ideal-looper elem indx [1 2 3] [exit]] does what it should, ie. caus

[REBOL] Creating Servers in Rebol on Linux Re:

2000-08-28 Thread ryanc
[EMAIL PROTECTED] wrote: > I asked this before to no avail. > > The SID-SERVER from the Official Guide or any server for that matter > created in Rebol and to be run on Linux. > > How do I make the thing run resident so I can start or stop it via remote cgi? What is the best way to peel an ora

[REBOL] First page about REBOL in Brazil

2000-08-28 Thread carlos
Hi friends, The first official site about REBOL in Brasil is already on air. Please visit : http://rebolbrasil.vila.bol.com.br You may contact me using [EMAIL PROTECTED] or [EMAIL PROTECTED] Thanks REBOL é bom demais!

[REBOL] copy versus copy/deep Re:

2000-08-28 Thread galtbarber
If you assign multiple references to the same memory, then there will be a difference. With copy/deep, you get a separate instance of everything. Without it, only the reference is used. It may seem like a subtle point, but one still worth looking at. Also, if you are storing object references

[REBOL] Creating Servers in Rebol on Linux

2000-08-28 Thread webmaster
I asked this before to no avail. The SID-SERVER from the Official Guide or any server for that matter created in Rebol and to be run on Linux. How do I make the thing run resident so I can start or stop it via remote cgi? Right now, I must telnet in and run manually, if I close telnet client,

[REBOL] make list 0 versus make list [] Re:

2000-08-28 Thread galtbarber
>In both cases, Rebol will expand or contract the list as required to hold >the data in the list. It is true that Rebol will expand memory for a block or list automatically, although you can help speed it up by pre-initializing to a large number of elements if you know they will be nee

[REBOL] Using the check-box in REBOL/view

2000-08-28 Thread toolnes
Can someone give me an easy example that uses a check-box to change a variable from "1" to "2" and label the variable?

[REBOL] forming a string from a block but inserting a separation character Re:

2000-08-28 Thread joel . neely
A function to do what you want (name inspired by plywood) is >> ply: func [s [string!] b [block!] /local r t c] [ [r: copy "" [t: copy "" [foreach c b [ [repend r [t c] [t: s [] [r [] >> ply "." [9 8 7 6 5 4 3 2 1] == "9.8.7.6.5.4.3.2.1" >> This is a c

[REBOL] make list 0 versus make list [] Re:

2000-08-28 Thread galtbarber
I am probably behind you all on this thread, but when I tried it I was surprised. Rebol may have always been this way and I just didn't notice before? Interesting! >> make block! 0 == [] >> make list! 0 == make list! [] >> mold make list! [stuff and more stuff] == "make list! [stuff and more

[REBOL] Re: Rolling your own ideal looper: does Repeat still have a bug? Re:(2)

2000-08-28 Thread g . santilli
Hello [EMAIL PROTECTED]! On 27-Ago-00, you wrote: l> Hi, l> just a small change: [...] Perhaps you meant: ideal-looper: func [ 'element [word!] 'index [word!] series [series!] code [block!] /local f i ] [ f: func reduce [[throw] element [any-type

[REBOL] Re: Meaning, Value, Binding and Context

2000-08-28 Thread g . santilli
Hello [EMAIL PROTECTED]! On 27-Ago-00, you wrote: A>>> bind blk in b second first b A> == [a a] A>>> get first blk A> == 13 A>>> get second blk A> == 13 A> And I really like the simplicity of the line: A>bind blk in b A>which really means what it says. The only confusing th

[REBOL] context of a function Re:(11)

2000-08-28 Thread galtbarber
Andrew, you must be religious. You believe in the Perfect Rebol! I don't care what feature it is or whether it's working broken or just weird, you have to understand it and imagining the perfect rebol won't do me a bit of good. Also, I find the claim that Rebol is significantly like a human la

[REBOL] Rolling your own ideal looper: does Repeat still have a bug? Re:(2)

2000-08-28 Thread galtbarber
Hi, Gabriele, Your version is much nicer and cleaner and probably runs just as fast or faster than mine, too. That's what I was looking for, but you see things clearer!! Anyway, thanks for your insights, I will take that lesson to heart. By the way, do you know how Rebol itself does foreach i

[REBOL] Philosophical/Linguistic Observation: REBOL has very little punctuation

2000-08-28 Thread princepawn
I was just trying to amuse myself by looking at a user-contributed REBOL site and I realized something. As I tried to simply scan the text without looking in any detail, I was gaining absolutely no information about the script. This is because, unlike Perl and perhaps English, REBOL has very li

[REBOL] copy versus copy/deep Re:

2000-08-28 Thread joel . neely
See what happens, after executing the code from your example, if you modify a nested sub-block of a. That's the difference. >> append a/3/2 99 == [4 5 99] >> a == [1 2 [3 [4 5 99] 6] 7 8] >> b == [1 2 [3 [4 5 99] 6] 7 8] >> c == [1 2 [3 [4 5] 6] 7 8] >> -jn- [EMAIL PROTECTED] wrote: > > As my

[REBOL] Creating an absolute path filename via join on directory and filename Re:(2)

2000-08-28 Thread joel . neely
Without the final '/', read attempts to access the directory as an actual file. On mess-doss this causes an error, while on *nix it returns some nice binary stuff which only wizards know how to use. With the final '/', read returns a block of names found within the directory. For example, in th

[REBOL] Meaning, Value, Binding and Context Re:

2000-08-28 Thread lmecir
Hi, your explanation looks natural, but I am not sure, how it copes with: Example illustrating, that the same value and equality of Words doesn't mean the same Binding (totally unnatural for human languages and for some programming languages too): blk: copy [a] a: 11 b: make object! [append blk

[REBOL] make list 0 versus make list [] Re:(2)

2000-08-28 Thread agem
maybe Terrence read something about [a: [] ] versus [ a: copy [] ] versus [ a: make list! [] ] ? in the last case the block is copied too, means you have allways an empty list. with [a: []] the block will remember its changes on subsequent invocations. --- [EMAIL PROTECTED] wrote on 28-Aug-200

[REBOL] what if a function requires multiple argument-based refinements? Re:

2000-08-28 Thread anton
Hi, Like this: f/ref1/ref2 3 4 1 Hope that's what you want... Anton. [EMAIL PROTECTED] wrote: > This is a bit of an abstract question by a person who is 1/3rd of the way through >the McGraw text, but I just keep popping with questions. > > What if I had the following: > > >> f: func [ a /ref1

[REBOL] copy versus copy/deep Re:

2000-08-28 Thread lmecir
Hi, The difference: a: [[1]] b: copy a c: copy/deep a change first a 2 probe a probe b probe c Regards Ladislav - Puvodní zpráva - Od: <[EMAIL PROTECTED]> Komu: <[EMAIL PROTECTED]> Odesláno: 28. srpna 2000 16:33 Predmet: [REBOL] copy versus copy/deep > As my example below shows,

[REBOL] Creating an absolute path filename via join on directory and filename Re:

2000-08-28 Thread anton
Hi, an absolute path is like this: %/c/cygwin/ %/d/games/afile etc.. Hope that's what you're after. By the way, somebody once said it's better to specify dirs with the '/' on the end. I forget why... Anton. [EMAIL PROTECTED] wrote: > I want to create a configuration file which loads in some

[REBOL] FTP error

2000-08-28 Thread Fantam
Hello, Here is the result of an interactive console session after typing >>xoom: ftp://myname:[EMAIL PROTECTED]/backup/ and >> read join xoom %"spaces in file.txt" As you can see at the bottom, the error is : ** Access Error: Port none not open. ** Where: read join xoom %spaces%20in%20file.t

[REBOL] smtp behaviour (email)

2000-08-28 Thread jpt
Hi, I am trying to send an email from my script/console, but I get relaying denied from the server. But when I try to send from pine on the same host, and logged in as the same user it works. This is a linux box and rebol is Libc6 iX86 REBOL/core 2.3.0.4.2 I have set rebol (user.r) to use my sm

[REBOL] append/only and copy/deep

2000-08-28 Thread princepawn
It would be more uniform for these refinements to have the same name as they do the same thing: ie, append/only should be named append/deep or copy/deep should be named copy/only for consistency Get your FREE Email and Voicemail at Lycos Communications at http://comm.lycos.com

[REBOL] forming a string from a block but inserting a separation character

2000-08-28 Thread princepawn
s: [ 9 8 7 6 5 4 3 2 1 ] How do I create the string "9.8.7.6.5.4.3.2.1" from it? I thought that reform would have a /sepchar refinement, but it didnt. Get your FREE Email and Voicemail at Lycos Communications at http://comm.lycos.com

[REBOL] what if a function requires multiple argument-based refinements? Re:

2000-08-28 Thread allen
- Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 29, 2000 12:43 AM Subject: [REBOL] what if a function requires multiple argument-based refinements? > This is a bit of an abstract question by a person who is 1/3rd of the way through the McGraw

[REBOL] what if a function requires multiple argument-based refinements? Re:

2000-08-28 Thread jelinem1
The template for the function call would be: f/ref1/ref2 So, try: >> f: func [ a /ref1 arg1 /ref2 arg2] [ either ref2 [ print "ref2" ] [ print "no ref2" ] ] >> f/ref1/ref2 3 4 1 ref2 - Michael Jelinek [EMAIL PROTECTED] on 08/28/2000 09:43:06 AM From: [EMAIL PROTECTED] on 08/28/2000 0

[REBOL] copy versus copy/deep Re:

2000-08-28 Thread jelinem1
In order to see the difference, you have to change something in the "deep" data: >> a: [ 1 2 [ 3 [ 4 5 ] 6 ] 7 8 ] == [1 2 [3 [4 5] 6] 7 8] >> b: copy a == [1 2 [3 [4 5] 6] 7 8] >> c: copy/deep a == [1 2 [3 [4 5] 6] 7 8] >> change a/3 9 == [[4 5] 6] >> a == [1 2 [9 [4 5] 6] 7 8] >> b == [1 2 [9

[REBOL] what if a function requires multiple argument-based refinements?

2000-08-28 Thread princepawn
This is a bit of an abstract question by a person who is 1/3rd of the way through the McGraw text, but I just keep popping with questions. What if I had the following: >> f: func [ a /ref1 arg1 /ref2 arg2] [ either ref2 [ print "ref2" ] [ print "no ref2" >] ] >> f/ref1 3 /ref2 4 1 no ref2 == 1

[REBOL] copy versus copy/deep

2000-08-28 Thread princepawn
As my example below shows, there does not appear to a difference in handling nested blocks between copy and copy/deep >> a: [ 1 2 [ 3 [ 4 5 ] 6 ] 7 8 ] == [1 2 [3 [4 5] 6] 7 8] >> b: copy a == [1 2 [3 [4 5] 6] 7 8] >> b == [1 2 [3 [4 5] 6] 7 8] >> c: copy/deep a == [1 2 [3 [4 5] 6] 7 8] >> c ==

[REBOL] Multimedia quality (was) One disk OS + REBOL Re:(9)

2000-08-28 Thread steve . shireman
I think the CD32 had a special chip (HP or ?) which did chunky to planar. So maybe Rebol runs cool on CD32...I will have to give that a spin and see. Thanks for the explanation, Steve Shireman [EMAIL PROTECTED] wrote: > > On Fri, Aug 25, 2000 at 08:03:16PM +0200, [EMAIL PROTECTED] wrote: > > Th

[REBOL] Creating an absolute path filename via join on directory and filename

2000-08-28 Thread princepawn
I want to create a configuration file which loads in some functions I wrote. I wrote a verbose description of the program below, but then figured: "Gee, REBOL is actually more concise and easy to understand than my English!" REBOL [] rebol-dir: "/cygwin/home/administrator/rebol" j: join rebol

[REBOL] make list 0 versus make list [] Re:

2000-08-28 Thread Al . Bri
Terrence "Perl Refugee" Brannon wrote: > I read something in the REBOL McGraw-Hill book, but would like to verify it. > > Is there a difference on subsequent invocations of a function if I bind a (local?) value using make list! 0 versus make list! [] > > So, now I have created 4 cases: > > >