[REBOL] Re: REBOL and w@p Re:

2000-04-27 Thread alanwall

Hello Rebolers,
I tried but could not scroll to the bottom of the text?
 - Original Message -
 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, April 26, 2000 13:24
 Subject: [REBOL] REBOL and w@p
 
 
 For those interested, there is now Czech Amiga News in w@ap format
 available. You can go to http://www.gelon.net and type in following url:
 http://www.rebol.cz/can/news.wml
 
 Enjoy!
 
 -pekr-
 
Regards
-- 
JMS Trustee http://www.jms.org
HP=http://www.sonic.net/~alanwall/
First computer solar powered vic-20
AmigaQNX-notAmigaNG=no good
computers for people not suits
sent via Yam ver2 on AmigaForever ver3
Be a Rebel get [EMAIL PROTECTED]
UIN#=9391028




[REBOL] proxy setting Re:(4)

2000-04-27 Thread FSubr

when i enter password, it fails with incorrect port specification
and if i try IP instead of DNS it's same as DNS,
 read http://www.rebol.com
connecting to: www.rebol.com
** Access Error: Port none not open.
** Where: read http://www.rebol.com


Filip

 -Pvodn zprva-
 Od:   [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
 Odeslno: 26. dubna 2000 20:01
 Komu: [EMAIL PROTECTED]
 Pedmt:  [REBOL] proxy setting Re:(3)
 
 Unfortuneately I never played with sock5, but I understand that it may
 require a
 username and password. Its probably a good idea to find out for sure what
 proxy
 version your connecting to. Sometimes those net admin folks like to use
 different ports to be cute, so you might check to see which ones your
 browser
 uses. If you use DNS names you might try using IP's instead, incase there
 is
 somehow an issue with your DNS.
 
 FYI, this is how I setup REBOL for my network...
 
 set-net [[EMAIL PROTECTED] mail.pacific.net mail.pacific.net 10.65.
 95.9 1080 socks4]
 
 If I was on socks5 and had to enter a password I might try...
 
 set-net [[EMAIL PROTECTED] mail.pacific.net mail.pacific.net
 ryanc:[EMAIL PROTECTED]
 95.9 1080 socks5]
 
 but thats just a guess, that may not work at all.
 
 --Ryan
 
 




[REBOL] REBOL and w@p Re:(3)

2000-04-27 Thread Petr . Krenzelok



[EMAIL PROTECTED] wrote:

 Hello Rebolers,
 I tried but could not scroll to the bottom of the text?

Well, there are scrollers on the cell phone in the middle. As for the messages
being shorter, author of the script limited message size, I don't know why
thought, as I have no experience with wap compatible appliances. Maybe max
size of transferred message?

-pekr-


  - Original Message -
  From: [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Wednesday, April 26, 2000 13:24
  Subject: [REBOL] REBOL and w@p
 
 
  For those interested, there is now Czech Amiga News in w@ap format
  available. You can go to http://www.gelon.net and type in following url:
  http://www.rebol.cz/can/news.wml
 
  Enjoy!
 
  -pekr-
 
 Regards
 --
 JMS Trustee http://www.jms.org
 HP=http://www.sonic.net/~alanwall/
 First computer solar powered vic-20
 AmigaQNX-notAmigaNG=no good
 computers for people not suits
 sent via Yam ver2 on AmigaForever ver3
 Be a Rebel get [EMAIL PROTECTED]
 UIN#=9391028




[REBOL] For all those folks unsubsribing from the list Re:

2000-04-27 Thread giesse

[EMAIL PROTECTED] wrote:

 and click "send". Big hint: Use copy and paste, so the spelling remains
 correct. OK? Then you'll be unsubscribed from the list.

We should probably add to SELMA the ability to accept "unsubsribe"
and ask the user a confirmation...

Regards,
   Gabriele.




[REBOL] REBOL/View/Graph?

2000-04-27 Thread ddalley


Hello, REBOL:

What chance is there of REBOL adding a native (i.e. built-in compiled code)
multi-graph, multi-style graphing tool to View? This tool should take both
data  formulae input. Doing this in REBOL code would probably not be
efficient enough for some uses, but it may get implimented more quickly.

-- 

---===///||| Donald Dalley |||\\\===---
 The World of AmiBroker Support
  http://webhome.idirect.com/~ddalley
  UIN/ICQ#: 65203020




[REBOL] For all those folks unsubsribing from the list Re:(2)

2000-04-27 Thread allenk


- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, April 27, 2000 8:25 PM
Subject: [REBOL] For all those folks "unsubsribing" from the list Re:


 [EMAIL PROTECTED] wrote:

  and click "send". Big hint: Use copy and paste, so the spelling
remains
  correct. OK? Then you'll be unsubscribed from the list.

 We should probably add to SELMA the ability to accept "unsubsribe"
 and ask the user a confirmation...

 Regards,
Gabriele.



People could also use the unsubscribe links that are on the same page that
the subscribe links are on.
At least those links were there the last time I looked.

Cheers,

Allen K





[REBOL] REBOL and e-commerce Re:

2000-04-27 Thread chaz

I like your writing style! Have you considered writing a REBOL book?

Of course, it would be uncivil of me to just brag about the neat ap I wrote
without telling you HOW it works. It's pretty trival; the real headache is
getting the HTML commands to format right--nothing to do with the REBOL
code, HTML is just a pain on good days.
...
Meanwhile, enjoy. REBOL truly is Perl without the complication.

--Ralph Roberts





[REBOL] For all those folks unsubsribing from the list Re:(3)

2000-04-27 Thread watterss


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 27, 2000 10:53 AM
To: [EMAIL PROTECTED]
Subject: [REBOL] For all those folks "unsubsribing" from the list Re:(2)



- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, April 27, 2000 8:25 PM
Subject: [REBOL] For all those folks "unsubsribing" from the list Re:


 [EMAIL PROTECTED] wrote:

  and click "send". Big hint: Use copy and paste, so the spelling
remains
  correct. OK? Then you'll be unsubscribed from the list.

 We should probably add to SELMA the ability to accept "unsubsribe"
 and ask the user a confirmation...

 Regards,
Gabriele.



People could also use the unsubscribe links that are on the same page that
the subscribe links are on.
At least those links were there the last time I looked.

Cheers,
Allen K


Isn't it easier to just delete the mail?

-Shannon




[REBOL] [REBOL] Rebol/Command ME TOO

2000-04-27 Thread ljurado

Me too (Win and Linux)




[REBOL] REBOL and e-commerce Re:(2)

2000-04-27 Thread ralph

Thanks, Chas, although that message was quick and had a few typos.

Yes, I've considered writing a book on REBOL and may very well do so. I love
the language, that's for sure.

As to "style," I've never worried overly much about it, but having written
some 80 books and a few thousand articles, I've perhaps developed one. All
of which is nice, but I still have to take the trash out on Monday
morningsg.

But, seriously, this mailing list has given me a lot of tips in learning
REBOL and I like to try and give back a little. We're all in this together.

Best,

--Ralph



 I like your writing style! Have you considered writing a REBOL book?

 Of course, it would be uncivil of me to just brag about the neat
 ap I wrote
 without telling you HOW it works. It's pretty trival; the real
 headache is
 getting the HTML commands to format right--nothing to do with the REBOL
 code, HTML is just a pain on good days.
 ...
 Meanwhile, enjoy. REBOL truly is Perl without the complication.
 
 --Ralph Roberts






[REBOL] Mime Type Datatype Built in?

2000-04-27 Thread rrm

What do you all think of asking Rebol to put a mime type datatype into
REBOL along with the most common mime types?  Here is a bit of code from
webserver.r:

 err-num " " err/2 "^/Content-type: text/html^/^/"

That could be reduced, clarified, or beautified to:

 err-num " " err/2 system/mimetypes/text/html

Because REBOL is so web centric it makes sense to me.  What do you
think?




[REBOL] proxy setting Re:(5)

2000-04-27 Thread ryanc

I am having some difficulties trying to replicate your error message.

When I use the wrong port or wrong IP I get...
 read http://www.rebol.com
** Access Error: Cannot connect to 10.65.95.9.
** Where: read http://www.rebol.com

When I use socks or socks5 I get prompted for a login  password,
then it reads the site as normal.

If I use generic proxy I get...
 read http://www.rebol.com
connecting to: www.rebol.com
** User Error: Error.  Target url: http://www.rebol.com/ could not be re
trieved.  Server response: none.
** Where: read http://www.rebol.com

if I point to a non-proxy win-98 or OS/2 box I get...
 read http://www.rebol.com
connecting to: www.rebol.com
** Access Error: Cannot connect to 10.65.95.1.
** Where: read http://www.rebol.com

If I use no proxying I get...
 read http://www.rebol.com
connecting to: www.rebol.com
** Access Error: Cannot connect to www.rebol.com.
** Where: read http://www.rebol.com

Well, you might try to recreate my errors. I am not sure whether the error...
** Access Error: Port none not open
is a server side error or possibly a client side error. If anyone has had this
error or understands it, please let us know!

I suspect that the REBOL socks proxy is somehow different than your socks
proxy. A little more information might be necessary now, such as the OS are you
using, server's OS and the socks proxy you are using.

--Ryan


[EMAIL PROTECTED] wrote:

 when i enter password, it fails with incorrect port specification
 and if i try IP instead of DNS it's same as DNS,
  read http://www.rebol.com
 connecting to: www.rebol.com
 ** Access Error: Port none not open.
 ** Where: read http://www.rebol.com
 

 Filip

  -Pùvodní zpráva-
  Od:   [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
  Odesláno: 26. dubna 2000 20:01
  Komu: [EMAIL PROTECTED]
  Pøedmìt:  [REBOL] proxy setting Re:(3)
 
  Unfortuneately I never played with sock5, but I understand that it may
  require a
  username and password. Its probably a good idea to find out for sure what
  proxy
  version your connecting to. Sometimes those net admin folks like to use
  different ports to be cute, so you might check to see which ones your
  browser
  uses. If you use DNS names you might try using IP's instead, incase there
  is
  somehow an issue with your DNS.
 
  FYI, this is how I setup REBOL for my network...
 
  set-net [[EMAIL PROTECTED] mail.pacific.net mail.pacific.net 10.65.
  95.9 1080 socks4]
 
  If I was on socks5 and had to enter a password I might try...
 
  set-net [[EMAIL PROTECTED] mail.pacific.net mail.pacific.net
  ryanc:[EMAIL PROTECTED]
  95.9 1080 socks5]
 
  but thats just a guess, that may not work at all.
 
  --Ryan
 
 




[REBOL] Mimetypes Built-in?

2000-04-27 Thread rrm

Mimetypes Built-in?
What do you all think of asking Rebol to put a mime type datatype into REBOL along 
with the most common mime types?  Here is a bit of code from webserver.r:

 err-num " " err/2 "^/Content-type: text/html^/^/"

That could be reduced, clarified, or beautified to:

 err-num " " err/2 system/mimetypes/text/html

Because REBOL is so web centric it makes sense to me.  What do you think?




[REBOL] RE: REBOL and e-commerce Re:(2)

2000-04-27 Thread evans

Someone needs to document how to write REBOL.

I am a newbie who is impressed by the user comments about its power, but at a
loss to get started.  Documentation does not seem to be REBOL's strong point!

I would propose a tutorial web page for starters.  The REBOL.com site is not
very helpful from a newcomer's standpoint.  I've read this list for some weeks
but still need an overview tutorial.

Mark Evans


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 27, 2000 11:34 AM
To: [EMAIL PROTECTED]
Subject: [REBOL] REBOL and e-commerce Re:(2)


Thanks, Chas, although that message was quick and had a few typos.

Yes, I've considered writing a book on REBOL and may very well do so. I love
the language, that's for sure.
[snip]




[REBOL] REBOL and ... documentation Re:(2)

2000-04-27 Thread mjelinek

I thought the examples in the documentation were great for learning the
language (i.e. simple examples for performing simple tasks), but then again
I'm a programmer. I can see now that a book is really needed to explain more
detail (for those tasks which aren't as straight-forward).

The most notable information missing (for me) was what I could do with
REBOL. I had no immediate need for internet communications (and knew very
little about it), and because REBOL was text-only with no OS interface, I
was at a loss for a useful application.

So I made one up: a text-based game (ok, so not very useful). As I grew more
bold with REBOL coding, and copied the networking TCP code from
multisession.r (on rebol.org), I converted the single-player game to a MUD
server. This is the first networking (and first multi-user/multi-player)
program I've ever written. NOW I've got something that impresses even myself
- and I never would have done it without the ease of programming in REBOL.

You can telnet into the MUD server at: calweb.com, port 3000 (you'll want
local echo ON). Feel free to login and crash it. thinking Sometime soon I
should probably add directions/documentation /thinking

- Michael Jelinek

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 27, 2000 12:27 PM
To: [EMAIL PROTECTED]
Subject: [REBOL] RE: REBOL and e-commerce Re:(2)


Someone needs to document how to write REBOL.

I am a newbie who is impressed by the user comments about its power, but at
a
loss to get started.  Documentation does not seem to be REBOL's strong
point!

I would propose a tutorial web page for starters.  The REBOL.com site is not
very helpful from a newcomer's standpoint.  I've read this list for some
weeks
but still need an overview tutorial.

Mark Evans


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 27, 2000 11:34 AM
To: [EMAIL PROTECTED]
Subject: [REBOL] REBOL and e-commerce Re:(2)


Thanks, Chas, although that message was quick and had a few typos.

Yes, I've considered writing a book on REBOL and may very well do so. I love
the language, that's for sure.
[snip]




[REBOL] REBOL and e-commerce Re:(4)

2000-04-27 Thread RChristiansen

There is, of course, documentation available from the REBOL site. The 
documentation is great for someone who is already familiar with scripting. 
This documentation replaces previous docs which actually included a 
beginner's tutorial. I'm not sure why that was removed.

 Someone needs to document how to write REBOL.
 
 I am a newbie who is impressed by the user comments about its power, but
 at a loss to get started.  Documentation does not seem to be REBOL's
 strong point!
 
 I would propose a tutorial web page for starters.  The REBOL.com site is
 not very helpful from a newcomer's standpoint.  I've read this list for
 some weeks but still need an overview tutorial.
 
 Mark Evans
 
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, April 27, 2000 11:34 AM
 To: [EMAIL PROTECTED]
 Subject: [REBOL] REBOL and e-commerce Re:(2)
 
 
 Thanks, Chas, although that message was quick and had a few typos.
 
 Yes, I've considered writing a book on REBOL and may very well do so. I
 love the language, that's for sure. [snip]
 





[REBOL] Rebol/Command ME TOO Re:

2000-04-27 Thread luis_marzulli

  ME TOO (win98)
TIA

--
Luis Marzulli
e-mail: [EMAIL PROTECTED]
Caracas, VENEZUELA
-
¡Gane dinero por cada Email que reciba!
Asóciese gratuitamente... ¡Comience a ganar dinero hoy mismo!
¡Fácil y divertido!
Haga clic aquí http://www.sendmoreinfo.com/id/605526




[REBOL] REBOL and e-commerce Re:(4)

2000-04-27 Thread ryanc

I will assume you have found the dictionary, users-guide, REBOL in ten steps, and
lowly rebdoc.

Myself, I have found that some docs on the system object are needed. A tips and
tricks would be real cool. REBOL lends itself to a somewhat different program
architecture, so a REBOL design doc would be slick for me.

Maybe we could do a user contributed documents web page? Everyone contributes a
little, we all would have allot. We WOULD have to be careful so that it did'nt
become a hodge podge of garbly-gouk.

I suppose we could do it through rebol.org, that is if people are willing to
contribute and rebol.org will have it.

--Ryan

[EMAIL PROTECTED] wrote:

 Someone needs to document how to write REBOL.

 I am a newbie who is impressed by the user comments about its power, but at a
 loss to get started.  Documentation does not seem to be REBOL's strong point!

 I would propose a tutorial web page for starters.  The REBOL.com site is not
 very helpful from a newcomer's standpoint.  I've read this list for some weeks
 but still need an overview tutorial.

 Mark Evans

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, April 27, 2000 11:34 AM
 To: [EMAIL PROTECTED]
 Subject: [REBOL] REBOL and e-commerce Re:(2)

 Thanks, Chas, although that message was quick and had a few typos.

 Yes, I've considered writing a book on REBOL and may very well do so. I love
 the language, that's for sure.
 [snip]




[REBOL] REBOL and e-commerce Re:(5)

2000-04-27 Thread allenk


- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, April 28, 2000 6:04 AM
Subject: [REBOL] REBOL and e-commerce Re:(4)


 There is, of course, documentation available from the REBOL site. The
 documentation is great for someone who is already familiar with scripting.
 This documentation replaces previous docs which actually included a
 beginner's tutorial. I'm not sure why that was removed.

  Someone needs to document how to write REBOL.
 
  I am a newbie who is impressed by the user comments about its power, but
  at a loss to get started.  Documentation does not seem to be REBOL's
  strong point!

Hi Mark,

All Rebol scripts are documentation, don't look for all your answers in
manuals,
spend time reading the example scripts, each one is a mini how-to document.
If you have questions on a particular script, contact the author of the
script, commonly you will find their email in the script header.

Take advantage of this list,
consider the members of this list as your tutor. Ask your questions here
(after you have checked/read the www.rebol.com/faq.html),
your answers will be far better than any manual could ever give.
We don't bite, some of us do drool though ;-)


Cheers,

Allen K
ICQ 456820


 
  I would propose a tutorial web page for starters.  The REBOL.com site is
  not very helpful from a newcomer's standpoint.  I've read this list for
  some weeks but still need an overview tutorial.
 
  Mark Evans
 
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, April 27, 2000 11:34 AM
  To: [EMAIL PROTECTED]
  Subject: [REBOL] REBOL and e-commerce Re:(2)
 
 
  Thanks, Chas, although that message was quick and had a few typos.
 
  Yes, I've considered writing a book on REBOL and may very well do so. I
  love the language, that's for sure. [snip]
 







[REBOL] Question on Sort ?

2000-04-27 Thread mdb

Hi All,

The following code sorts the name-ages block by name in ascending order,
and also keeps the age with the corresponding name.

 name-ages: ["Larry" 45 "Curly" 50 "Mo" 42 "Mike" 48]
== ["Larry" 45 "Curly" 50 "Mo" 42 "Mike" 48]
 sort/skip name-ages 2
== ["Curly" 50 "Larry" 45 "Mike" 48 "Mo" 42]

1. How would i sort to get name/ages in descending order by name ?

2. How would i sort to get name/ages in ascending order by age ?

3. How would i sort to get name/ages in descending order by age ? 

I've a feeling it's got something to do with the compare refinement, but at
this point in time, it doesn't make much sense to me.

Thanks in advance.

Mike.





[REBOL] Text to CW !!!

2000-04-27 Thread jhagman

Hi,

I saw a perl script in USENET news that coded text to CW -alphabets,
the author of script challenged others to do the same with a shorter
program. I thought to do it in REBOL. Here it is, much shorter than
the original perl -script, that was actually very badly written, but
unfortunately a bit longer than the shortest (and very unreadable)
perl script. This script is a bit broken (because I tried to take
every byte off that I could). And almost unreadable. It is certainly
not a good example how one should program in REBOL. I post it
here just because there might be some interested in it. Here it comes
(about 210 bytes :)

 REBOL[]foreach c system/script/args[s: copy{ }x: index? 
 find{etianmsurwdkgohvfüläpjbxcyzqö*54*3***2***16***7***8*90}c until[s:
 head insert s either odd? x["."]["-"](x: to-integer x - 1 / 2) = 0]prin s]

And a little more readable version:

 REBOL[]

 foreach char system/script/args [
   str: copy " "
   pos: index? find 
"etianmsurwdkgohvfüläpjbxcyzqö*54*3***2***16***7***8*90" char 

   until [
 str: head insert str either odd? pos ["."]["-"]
 (pos: to-integer pos - 1 / 2) = 0
   ]
   prin str
 ]

It is supposed to be used from the commandline, but it is easy to
alter do otherwise. I'll repeat this, if you want to use this code
snippet in your program do yourself a favor and fix it, currently it
is hmm...  feature rich :) It does not like spaces in input and
also unknown characters produce a crash.

Have fun,
Jussi 


-- 
Jussi Hagman CS in Åbo Akademi University
Studentbyn 4 D 33[EMAIL PROTECTED]
20540 Åbo[EMAIL PROTECTED]
Finland




[REBOL] RE: REBOL and e-commerce Re:(5)

2000-04-27 Thread evans

Thank you Allen.  I plead guilty to not having fully studied the user guide
which is the closest thing to comprehensive documentation.  At least I scanned
it carefully (more than you can say for most programmers)!

The Guide takes a worm's eye view of the territory, not a bird's eye view.  It
reminds me of the old Inside Macintosh books.  I tried to learn Mac programming
from those books (thick as they were) and got absolutely nowhere.  A magazine
article hit the nail on the head when it paraphrased the Mac API as the assembly
language of interface programming.

I work as a professional software engineer and know several languages, compiled
and interpreted.  Learning curves are not mysteries to me; I know what they look
like.

The real point I am trying to make is that a dictionary-style documentation, or
slew of examples, is the hard way to learn anything.  I could tell you to learn
the English language by reading the dictionary.  Technically speaking it covers
everything you need to know, but then again -- it doesn't.  The Guide takes an
approach that is just barely one level above a dictionary.  It categorizes REBOL
thingys into groups of thingys without saying what makes a REBOL program a REBOL
program.

There needs an architecture discussion to lend coherence to the whole situation.
Especially useful would be

- background philosophy
  (why REBOL?  what's better about it?  white paper time!)

- comparison with another language doing the same task
  (esp. Perl which seems to be the main competition --
  comparative examples are often the most important)

- visual block diagrams instead of words
  (show me the chain of evaluation in a flow chart
  not a dictionary presentation which asks me to reconstruct
  the flow based on dry definitions)

- clarification of the 31 flavors of REBOL
  (/core, /view, /whatever /else) - what are they, when
  are they planned to ship, what is the price tag,
  why so many flavors

- clarification of exactly what things are done
  behind the scenes and how
  (memory alloc, run time typing, etc.)

These suggestions are given in a spirit of constructive critique.  The point
here is to convey the mind of the language designer to the readers.  Then
examples will fall neatly into place.

Mark



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 27, 2000 7:15 PM
To: [EMAIL PROTECTED]
Subject: [REBOL] REBOL and e-commerce Re:(5)


Hi Mark,

All Rebol scripts are documentation, don't look for all your answers in manuals,
spend time reading the example scripts, each one is a mini how-to document.
[snip]




[REBOL] Text to CW !!! Re:

2000-04-27 Thread allenk

Hi Jussi

To shave off another couple of bytes, (the new line is 3 characters shorter)

change...
str: head insert str either odd? pos ["."]["-"]

to this...
str: head insert str pick ["." "-"] odd? pos


Because 'pick also works with Logic values.

Cheers,

Allen K


- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, April 28, 2000 1:09 PM
Subject: [REBOL] Text to CW !!!


 Hi,

 I saw a perl script in USENET news that coded text to CW -alphabets,
 the author of script challenged others to do the same with a shorter
 program. I thought to do it in REBOL. Here it is, much shorter than
 the original perl -script, that was actually very badly written, but
 unfortunately a bit longer than the shortest (and very unreadable)
 perl script. This script is a bit broken (because I tried to take
 every byte off that I could). And almost unreadable. It is certainly
 not a good example how one should program in REBOL. I post it
 here just because there might be some interested in it. Here it comes
 (about 210 bytes :)

  REBOL[]foreach c system/script/args[s: copy{ }x: index?
  find{etianmsurwdkgohvfüläpjbxcyzqö*54*3***2***16***7***8*90}c
until[s:
  head insert s either odd? x["."]["-"](x: to-integer x - 1 / 2) = 0]prin
s]

 And a little more readable version:

  REBOL[]

  foreach char system/script/args [
str: copy " "
pos: index? find
 "etianmsurwdkgohvfüläpjbxcyzqö*54*3***2***16***7***8*90"
char

until [
  str: head insert str either odd? pos ["."]["-"]
  (pos: to-integer pos - 1 / 2) = 0
]
prin str
  ]

 It is supposed to be used from the commandline, but it is easy to
 alter do otherwise. I'll repeat this, if you want to use this code
 snippet in your program do yourself a favor and fix it, currently it
 is hmm...  feature rich :) It does not like spaces in input and
 also unknown characters produce a crash.

 Have fun,
 Jussi


 --
 Jussi Hagman CS in Åbo Akademi
University
 Studentbyn 4 D 33[EMAIL PROTECTED]
 20540 Åbo[EMAIL PROTECTED]
 Finland






[REBOL] Rebol/Command ME TOO

2000-04-27 Thread etcha



ME TOO (Linux,Win95)