[REBOL] Unsubscribing Re:

2000-04-03 Thread Al . Bri

Hi!
To unsubscribe from the list, send an email with _only_ this:
unsubscribe
in the subject line. Or click on this link (in an advanced email
client):
[EMAIL PROTECTED]?subject=unsubscribe
Or run this rebol script:
[REBOL []
send [EMAIL PROTECTED] "unsubscribe"
]

I hope that helps!

Andrew Martin
Ping-ing the fjords...
ICQ: 26227169
http://members.xoom.com/AndrewMartin/
--




[REBOL] [REBOL]Advice in using global values Re:

2000-04-03 Thread Al . Bri

Tim wrote:
 How do I make a value global? That is, so that it can be "seen" by any
code in a file, include user-define functions?

Global_Value: 0
As simple as that.

 I would also welcome advice as to the pro and cons of using globals, as
well as when best to use them, and what under what circumstances where such
usage would be a bad idea.

In any but small programs, avoid them. In small programs, it doesn't matter
as much, but if you reuse your code, this bad habit will bite you.

Andrew Martin
Long-winded...
ICQ: 26227169
http://members.xoom.com/AndrewMartin/
--




[REBOL] Reading binary file as 16-bit words

2000-04-03 Thread peter . carlsson

Hello!

I need some help to read a binary file in to a
series of 16-bit words.

How can I do this easily?

Best regards,
Peter Carlsson


Peter CarlssonTel: +46 31 735 45 26
Saab Ericsson Space ABFax: +46 31 735 40 00
S-405 15 Göteborg Email: [EMAIL PROTECTED]
SWEDENURL: http://www.space.se





[REBOL] SERIES for LISP

2000-04-03 Thread sqlab

Hi 

Does anyone know the SERIES package for CommonLisp
(http://series.sourceforge.net/) and can explain difference and common referring to 
Rebol ?

Thanks

AR

-- 
Sent through GMX FreeMail - http://www.gmx.net




[REBOL] [REBOL]Advice in using global values Re:

2000-04-03 Thread mjelinek

 How do I make a value global? That is, so that
 it can be "seen" by any code in a file, include
 user-define functions?

Values are global by default, aren't they? Although I have noticed that loop
indices are local to the loop block, and of course function (dummy)
arguments are local to the function...

 I would also welcome advice as to the pro and cons
 of using globals, as well as when best to use
 them, and what under what circumstances where such
 usage would be a bad idea.

We could probably start a mailing list on the debate regarding the use of
globals, but most people are probably tired of rehashing the arguments.
There was one passage I read that nailed it down as well as anything: If all
(or most all) of your functions use particular piece of data, then that data
should probably be global.

On the other hand, library functions should never use globals.

- Michael Jelinek




[REBOL] my most frequent complaint

2000-04-03 Thread bemerson


...about scripting languages is that they let you do a whole lot *very* 
quickly and then you're stuck.  My current case in point, is this program 
I'm writing to sync files from the three different computers I use to a 
central location.  (bookmark files, address books, etc.)

All the stuff that I expected to be hard was easy: querying a FTP site, 
uploading and downloading files, comparing file dates and times.

The part that I expected to be easy seems impossible: setting the time on a 
file in the local file system.  I never once imagined that I wouldn't be 
able to do this.

It's incredibly frustrating.  Is there a way to make calls to custom DLL's?

Thanks,

Brad






= Original Message from [EMAIL PROTECTED] at 4/03/00 8:06 am
Hi

Does anyone know the SERIES package for CommonLisp
(http://series.sourceforge.net/) and can explain difference and common referring to 
Rebol ?

Thanks

AR

--
Sent through GMX FreeMail - http://www.gmx.net




[REBOL] Security violation

2000-04-03 Thread rebol

Hi, I'm trying to use REBOL for a CGI script that 'saves some data to a
file, and I'm getting a "REBOL - Security Violation" message. The
permissions of the Rebol executable (which is just stuck in my cgi-bin
directory) and my cgi script are set to 755, and the data file I'm trying to
write to has permissions set to 777. Any ideas about what could be wrong?
Thanks!

Keith




[REBOL] my most frequent complaint Re:

2000-04-03 Thread Petr . Krenzelok



[EMAIL PROTECTED] wrote:

 ...about scripting languages is that they let you do a whole lot *very*
 quickly and then you're stuck.  My current case in point, is this program
 I'm writing to sync files from the three different computers I use to a
 central location.  (bookmark files, address books, etc.)

 All the stuff that I expected to be hard was easy: querying a FTP site,
 uploading and downloading files, comparing file dates and times.

 The part that I expected to be easy seems impossible: setting the time on a
 file in the local file system.  I never once imagined that I wouldn't be
 able to do this.

I am sorry, but I don't think you will easily find many scripting languages which will 
allow you
to do so, or am I wrong?


 It's incredibly frustrating.  Is there a way to make calls to custom DLL's?


Wait for the /Command version ...

-pekr-


 Thanks,

 Brad

 = Original Message from [EMAIL PROTECTED] at 4/03/00 8:06 am
 Hi
 
 Does anyone know the SERIES package for CommonLisp
 (http://series.sourceforge.net/) and can explain difference and common referring to 
Rebol ?
 
 Thanks
 
 AR
 
 --
 Sent through GMX FreeMail - http://www.gmx.net




[REBOL] my most frequent complaint Re:

2000-04-03 Thread bemerson



= Original Message from [EMAIL PROTECTED] at 4/03/00 9:41 am
[EMAIL PROTECTED] wrote:

 ...about scripting languages is that they let you do a whole lot *very*
 quickly and then you're stuck.  My current case in point, is this program
 I'm writing to sync files from the three different computers I use to a
 central location.  (bookmark files, address books, etc.)

 All the stuff that I expected to be hard was easy: querying a FTP site,
 uploading and downloading files, comparing file dates and times.

 The part that I expected to be easy seems impossible: setting the time on a
 file in the local file system.  I never once imagined that I wouldn't be
 able to do this.

I am sorry, but I don't think you will easily find many scripting languages which 
will allow 
you
to do so, or am I wrong?

No.  You are correct, hence my complaint.  It wasn't targeted at Rebol, but 
scripting languages in general.  I'm C/C++programmer, and I constantly have 
hopes that a scripting language will arise that I can switch to.

The happiest I've been was when I had my own interpreter using the 
Postscript dialect.  For the most part I wrote in Postscript.  When I need 
to do something better done in a language like C, I wrote it in C and added 
it as a builtin function.  It was awesome, but it since it was all custom it 
wasn't something I could really use at work.  If you supported a mechanism 
to call DLL's, and maybe created a generic one, people could use Rebol for 
what it's good at and switch to a langauge like C for the things it's not 
good at--like talking to the system.

I know this violates the whole portable code thing, but it's *really* useful 
and no one *has* to use it.

I really doubt that one language will ever be all things to all people.  Two 
languages quite possibly might do the trick.  We just need some glue and 
Rebol looks like pretty good glue.

 It's incredibly frustrating.  Is there a way to make calls to custom DLL's?


Wait for the /Command version ...

Okay, I'm waiting...  (any idea how long???)

Brad




[REBOL] [REBOL] my most frequent complaint

2000-04-03 Thread lconrad

What's the schedule on  REBOL / NT being able to talk to COM objects?

Len

=

 Wait for the /Command version ...

Okay, I'm waiting...  (any idea how long???)




[REBOL] [REBOL] my most frequent complaint Re:

2000-04-03 Thread Petr . Krenzelok



[EMAIL PROTECTED] wrote:

 What's the schedule on  REBOL / NT being able to talk to COM objects?

I don't know - all I know about /Command can be found at:
http://www.rebol.com/news9B09.html

-pekr-




 Len

 =

  Wait for the /Command version ...
 
 Okay, I'm waiting...  (any idea how long???)




[REBOL] [REBOL]Formatting variables in strings Re:(2)

2000-04-03 Thread tjohnson

Thanks:
That did it!
tj
At 10:12 AM 4/3/00 -0800, you wrote:

print reform ["the numbers are:" test "and" (test + 1)]







[REBOL] Dialecting

2000-04-03 Thread lorrainemagnus

How is dialecting different from defining a new word in
Forth?  How does this make REBOL better than any language
which allows you to define new words?
__
FREE Personalized Email at Mail.com
Sign up at http://www.mail.com/?sr=signup




[REBOL] recommend a REB friendly host Re:(2)

2000-04-03 Thread dolmen

I'm interested in how you did it because I already have a Prohosting free
account on thor.prohosting.com.

I tried to upload rebol and a CGI script but it didn't work.
Could you tell me in which directory you installed it, and send me a script
that work ?
Are you using a user.r file ?

Olivier

- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, April 01, 2000 2:08 PM
Subject: [REBOL] recommend a REB friendly host Re:


 Hi,

 it is possible to use the free web hosting service free.prohosting.com,
 you can run REBOL for BSDI there, though you have to upload it yourself.
 If you like the service, you can upgrade to their paid prohosting.com.

 Look at my test script at
 http://hammer.prohosting.com/~rebol/cgi-bin/cgitest.cgi

 --
 Michal Kracik

 [EMAIL PROTECTED] wrote:
 
  recommend a REB friendly host
 
  Howdy Guys,
 
  Can someone point me to someone reliable who can host my domain?  I
  think I remember some mention of Dreamhost.. I'd like it
  inexpensive, with cgi capabilities (of course) and, another of
  course, support the big bad REBOL.  What do you guys use?
 
  thanks!
 
  -t





[REBOL] my most frequent complaint Re:(2)

2000-04-03 Thread ingo

Hi Brad,

Those were the words of [EMAIL PROTECTED]:
... 
 No.  You are correct, hence my complaint.  It wasn't targeted at Rebol, but 
 scripting languages in general.  I'm C/C++programmer, and I constantly have 
 hopes that a scripting language will arise that I can switch to.
...

Have you seen pliant? ( http://pliant.cams.ehess.fr/ ) 

I think there is nearly nothing you can't do with it (if you had
good docs, that is). 

It does tcp/ftp/http/smtp/
scripts are compiled when started
can use dlls / be used as dll (there seem to be still some rough edges) 
highly customizable (even the whole syntax)

on the downside:
only Linux / Windows
10 MB on disc
slow on startup
missing docs
default syntax is awful 

but if someone implemented a rebol syntax translator for pliant ;-)


regards,

Ingo

--  _ ._
ingo@)|_ /|  _| _  We ARE all ONE   www._|_o _   _ ._ _  
www./_|_) |o(_|(/_  We ARE all FREE ingo@| |(_|o(_)| (_| 
http://www.2b1.de/Rebol/ ._|  ._|




[REBOL] recommend a REB friendly host Re:(3)

2000-04-03 Thread kracik

Hi,

actually I tried to write a small guide, but failed because I don't
know English well. I can send you the unfinished guide, if it is of any
use.

-- 
Michal Kracik

[EMAIL PROTECTED] wrote:
 
 I'm interested in how you did it because I already have a Prohosting free
 account on thor.prohosting.com.
 
 I tried to upload rebol and a CGI script but it didn't work.
 Could you tell me in which directory you installed it, and send me a script
 that work ?
 Are you using a user.r file ?
 
 Olivier
 
 - Original Message -
 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Saturday, April 01, 2000 2:08 PM
 Subject: [REBOL] recommend a REB friendly host Re:
 
  Hi,
 
  it is possible to use the free web hosting service free.prohosting.com,
  you can run REBOL for BSDI there, though you have to upload it yourself.
  If you like the service, you can upgrade to their paid prohosting.com.
 
  Look at my test script at
  http://hammer.prohosting.com/~rebol/cgi-bin/cgitest.cgi
 
  --
  Michal Kracik
 
  [EMAIL PROTECTED] wrote:
  
   recommend a REB friendly host
  
   Howdy Guys,
  
   Can someone point me to someone reliable who can host my domain?  I
   think I remember some mention of Dreamhost.. I'd like it
   inexpensive, with cgi capabilities (of course) and, another of
   course, support the big bad REBOL.  What do you guys use?
  
   thanks!
  
   -t
 




[REBOL] No REBOL/Command Beta ? Re:(2)

2000-04-03 Thread vddi



[EMAIL PROTECTED] a écrit :

 [EMAIL PROTECTED] wrote:

  What's the schedule on  REBOL / NT being able to talk to COM objects?

 I don't know - all I know about /Command can be found at:
 http://www.rebol.com/news9B09.html

 -pekr-

 
 
  Len
 
  =
 
   Wait for the /Command version ...
  
  Okay, I'm waiting...  (any idea how long???)

"... REBOL/Command Beta will be available later this fall for
Microsoft Windows, Linux and popular Unix platforms with FINAL RELEASE
scheduled for Q1, 2000 " says this article !
What are you waiting for ? I've seen the Rebol/view beta 1 and now I 'm
trying beta 2 but .. I 'dont have a glimpse on any beta of
REBOL/Command ? Why ???
Why don't release a beta from this product ???




[REBOL] Dialecting Re:

2000-04-03 Thread icimjs

Hi,

you wrote:
How is dialecting different from defining a new word in
Forth?  

Dialecting goes beyond just extending REBOL's vocabular. It permits you to
also define your own syntactic structures (i.e. language grammar).

How does this make REBOL better than any language
which allows you to define new words?

Some differences between REBOL and languages that allow you to define new
words:
1. There are now holy cows, i.e. keywords. REBOL allows you to define new
words as well as any word from REBOL's existing vocabulary to be anything
you want.

2. Using REBOL's dialecting support, you can also define new syntactic
structures.

3. Using contexts you can precisely control under what circumstances your
new word definitions/syntactic structures become affective, without
impacting REBOL's default vocabulary and behavior.

4. Based on contexts you can freely mix REBOL's default behavior and any
number of dialects.

Example: See the CID dialect that is shipping REBOL/View beta

Hope this helps,


;- Elan  [: - )]




[REBOL] my most frequent complaint Re:(2)

2000-04-03 Thread tjohnson

Thought I would throw a little different take on
this thread:
I'm a modestly accomplished C/C++ programmer. I use
C++ extensions carefully and conservatively. I love
C because of it's great extendability. I've done a lot
of CGI programming in this medium
and will most likely continue with it as my main programming
language for the foreseeable future, especially for
large databases.

I'm using rebol because it is a C program written by  
far better programmers than I am. (Carl S and company).
I know it will be a valuable addition to my tool kit.

And I am also looking at Python. Rebol has got a lot
to learn from Python, but I think they WILL learn
from python and be better than either python or perl.

just my point of view.
tim 
At 01:05 PM 4/3/00 +0100, you wrote:
Re the "ideal scripting language": have you looked at Python?
Rebol is great for internet related scripting, but as a general scripting 
system, Python is about as good as it gets right now (in my humble opinion).

At 09:19 AM 4/3/00 -0700, you wrote:

about scripting languages is that they let you do a whole lot *very*
quickly and then you're stuck.  My current case in point, is this program
I'm writing to sync files from the three different computers I use to a
central location.  (bookmark files, address books, etc.)

All the stuff that I expected to be hard was easy: querying a FTP site,
uploading and downloading files, comparing file dates and times.

The part that I expected to be easy seems impossible: setting the time on a
file in the local file system.  I never once imagined that I wouldn't be
able to do this.

It's incredibly frustrating.  Is there a way to make calls to custom DLL's?

Thanks,

Brad






= Original Message from [EMAIL PROTECTED] at 4/03/00 8:06 am
 Hi
 
 Does anyone know the SERIES package for CommonLisp
 (http://series.sourceforge.net/) and can explain difference and common 
 referring to Rebol ?
 
 Thanks
 
 AR
 
 --
 Sent through GMX FreeMail - http://www.gmx.net