[REBOL] ODBC Connection Re:(2)

2000-08-04 Thread Petr . Krenzelok



[EMAIL PROTECTED] wrote:

 The way to open a command port has been changed from:

 db-port: make dbase [ scheme: 'odbc ]

 to:

 db-port: first dbase


OK, any other usefull info about changes? What about changes to /View described
in a few words?

Thanks,
-pekr-


 Think of the dbase port as a factory that makes command ports.

   - jim

 At 02:46 PM 8/4/2000 +1000, you wrote:
 I am using win95 ver of rebol/command for the first time, and thought id
 open a data
 source connection to the radius.  can somebody tell me what im doing wrong:
 
 dbase: open odbc://name:pass@datasourcehere
 
 db-port: make dbase [scheme: 'odbc]
 
 insert db-port "select * from tablenamehere"
 
 and it returned
 
   Error: Port none not opened
 Where: insert db-port "select * from tablenamehere"
 
 
 I thought this _was_ a port.?
 
 aden




[REBOL] /Command docs and release date Re:(2)

2000-08-04 Thread kracik

Thanks Allen, that helps a lot. Now I can start experimenting with
databases.

-- 
Michal Kracik

[EMAIL PROTECTED] wrote:
 
 - Original Message -
 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Friday, August 04, 2000 9:19 AM
 Subject: [REBOL] /Command docs and release date
 
  Hi,
 
  now that experimental /Command versions for different platforms are
  available for download, I'd like to see some docs for ODBC and external
  library calls.
 
  Also, the REBOL/Command page at http://www.rebol.com/command1w.html
  says that "REBOL/Command will be available for purchase in August
  2000.", so should we expect it Real Soon Now?
 
  --
  Michal Kracik
 
 
 
 Hi Michal,
 
 Until we have an official link for the new ones at REBOL, I have placed the
 the beta 0.90 REBOL/Command docs on my server.
 
 www.janita.com.au/rebolforces/docs/notes.html
 
 www.janita.com.au/rebolforces/docs/setup.html
 
 www.janita.com.au/rebolforces/docs/users.html
 
 Hope this helps,
 
 Allen K




[REBOL] javascript tetris ...

2000-08-04 Thread Petr . Krenzelok

http://www.sylloge.com:8080/5k/entries/23/index.html

-pekr-




[REBOL] REBOL stand-alone applications? Re:

2000-08-04 Thread kracik

Hi,

There's a possibility to append your script after the REBOL executable,
at least Windows loader does not complain. But you must then run REBOL
with a long command line from a shortcut, not just rebol.exe.

First, make a directory, copy REBOL.exe, hide-script.r and the script
you want to hide (I use a random example dancelady.r) to that
directory. Then run hide-script.r - it will create a modified REBOL
executable and print a command line - copy it and paste into some
shortcut.

You can then delete dancelady.r file from disk - modified REBOL will
still run it.

Scripts and example shortcut (renamed, because Netscape Messenger
tries to follow it) are attached.

Hope this helps,

-- 
Michal Kracik


[EMAIL PROTECTED] wrote:
 
 I would like to be able to put together an client side standalone
 application that uses REBOL - but
 I do not want to require the user to download the REBOL and see the scripts
 that make up the application.
 
 Is it possible to create a REBOL app that completely encapsulates the REBOL
 engine and hides the script(s)
 And if so, how?
 
 - Scanzoni

REBOL [
TITLE: "The Dance Lady"
AUTHOR: "Ralph Roberts, 2000"
DATE: "13-Jan-2000"
PURPOSE: "console animation demo"
  FILE: %dancelady.r]

 print newline
 print "^(1B)[10CPresenting the exotic"
 print "^(1B)[10C  MS. ASCII REBOLI"
 print newline

 print "^(1B)[12C.###.  "
 print "^(1B)[12C   _#*_*#_)"
 print "^(1B)[12C--(--/__\--"
 print "^(1B)[12C_\  \_"

wait .2 prin "^(1B)[4A"

 print "^(1B)[12C .###. "
 print "^(1B)[12C  ___#*_*#___  "
 print "^(1B)[12C--/_/--"
 print "^(1B)[12C _\ \_"

wait .2 prin "^(1B)[4A"

 print "^(1B)[12C .###. "
 print "^(1B)[12C  ___#*_*#___  "
 print "^(1B)[12C--\_\--"
 print "^(1B)[12C _/  /_ "

wait .2 prin "^(1B)[4A"

 print "^(1B)[12C.###.  "
 print "^(1B)[12C  (_#*_*#_ "
 print "^(1B)[12C-/__\-)"
 print "^(1B)[12C   _/  /_   "

wait .2 prin "^(1B)[4A"

 print "^(1B)[12C.###.  "
 print "^(1B)[12C   _#*_*#_)"
 print "^(1B)[12C--(--/__\--"
 print "^(1B)[12C_\  \_"

wait .2 prin "^(1B)[4A"

 print "^(1B)[12C .###. "
 print "^(1B)[12C  ___#*_*#___  "
 print "^(1B)[12C--/_/--"
 print "^(1B)[12C _\ \_"

wait .2 prin "^(1B)[4A"

 print "^(1B)[12C .###. "
 print "^(1B)[12C  ___#*_*#___  "
 print "^(1B)[12C--\_\--"
 print "^(1B)[12C _/  /_ "

wait .2 prin "^(1B)[4A"

 print "^(1B)[12C.###.  "
 print "^(1B)[12C  (_#*_*#_ "
 print "^(1B)[12C-/__\-)"
 print "^(1B)[12C   _/  /_   "

wait .2 prin "^(1B)[4A"

 print "^(1B)[12C.###.  "
 print "^(1B)[12C   _#*_*#_)"
 print "^(1B)[12C--(--/__\--"
 print "^(1B)[12C_\  \_"

wait .2 prin "^(1B)[4A"

 print "^(1B)[12C .###. "
 print "^(1B)[12C  ___#*_*#___  "
 print "^(1B)[12C--/_/--"
 print "^(1B)[12C _\ \_"

wait .2 prin "^(1B)[4A"

 print "^(1B)[12C .###. "
 print "^(1B)[12C  ___#*_*#___  "
 print "^(1B)[12C--\_\--"
 print "^(1B)[12C _/  /_ "

wait .2 prin "^(1B)[4A"

 print "^(1B)[12C.###.  "
 print "^(1B)[12C  (_#*_*#_ "
 print "^(1B)[12C-/__\-)"
 print "^(1B)[12C   _/  /_   "

wait .2 prin "^(1B)[4A"

 print "^(1B)[12C.###.  "
 print "^(1B)[12C   _#*_*#_)"
 print "^(1B)[12C--(--/__\--"
 print "^(1B)[12C_\  \_"

wait .2 prin "^(1B)[4A"

 print "^(1B)[12C .###. "
 print "^(1B)[12C  ___#*_*#___  "
 print "^(1B)[12C--/_/--"
 print "^(1B)[12C _\ \_"

wait .2 prin "^(1B)[4A"

 print "^(1B)[12C .###. "
 print "^(1B)[12C  ___#*_*#___  "
 print "^(1B)[12C--\_\--"
 print "^(1B)[12C _/  /_ "

wait .2 prin "^(1B)[4A"

 print "^(1B)[12C.###.  "
 print "^(1B)[12C  (_#*_*#_ "
 print "^(1B)[12C-/__\-)"
 print "^(1B)[12C   _/  /_   "

wait .2 prin "^(1B)[4A"

 print "^(1B)[12C.###.  "
 print "^(1B)[12C   _#*_*#_)"
 print "^(1B)[12C--(--/__\--"
 print "^(1B)[12C_\  \_"

wait .2 prin "^(1B)[4A"

 print "^(1B)[12C .###. "
 print "^(1B)[12C  ___#*_*#___  "
 print "^(1B)[12C--/_/--"
 print "^(1B)[12C _\ \_"

wait .2 prin "^(1B)[4A"

 print "^(1B)[12C .###. "
 print "^(1B)[12C  ___#*_*#___  "
 print "^(1B)[12C--\_\--"
 print "^(1B)[12C _/  /_ "

wait .2 prin "^(1B)[4A"

 print "^(1B)[12C.###.  "
 print "^(1B)[12C  (_#*_*#_ "
 print "^(1B)[12C-/__\-)"
 print "^(1B)[12C   _/  /_   "

wait .2 prin "^(1B)[4A"

 print "^(1B)[12C.###.  "
 print "^(1B)[12C   _#*_*#_)"
 print "^(1B)[12C--(--/__\--"
 print "^(1B)[12C_\  \_"

wait .2 prin "^(1B)[4A"

 print "^(1B)[12C .###. "
 print "^(1B)[12C  ___#*_*#___  "
 print "^(1B)[12C--/_/--"
 print "^(1B)[12C _\ \_"

wait .2 prin "^(1B)[4A"

 print "^(1B)[12C .###. "
 print "^(1B)[12C  

[REBOL] REBOL stand-alone applications? Re:

2000-08-04 Thread RChristiansen

Hmm...

Well, with /View, here is how you can make a "stand-alone" app for the 
BeOS...

1. give the script the #! /boot/home/config/bin/rebol shebang

2. make the script executable.

3. give the script a nice icon.

4. use PackageBuilder to have the following installed when the end user 
double-clicks on the .pkg file...

executable script in /install_folder
executable script in /boot/home/config/bin/
rebol in /boot/home/config/bin/


This installs the /View rebol binary alongside the executable rebol script in 
the bin/ directory. Now the script is executable from the commandline (just 
type the name of the script) or the script is executable like other applications 
in that you can double-click on its icon to launch it.

I'm sure something similar can be accomplished on other platforms.

Of course, it's not within the license to install /View for the end user. This is 
how it COULD be done.

8-)

-Ryan

 I would like to be able to put together an client side standalone
 application that uses REBOL - but
 I do not want to require the user to download the REBOL and see the
 scripts that make up the application.
 
 Is it possible to create a REBOL app that completely encapsulates the
 REBOL engine and hides the script(s) And if so, how?
 
 - Scanzoni
 
 





[REBOL] Re: New Amiga support? Re:

2000-08-04 Thread g . santilli

Hello [EMAIL PROTECTED]!

On 03-Ago-00, you wrote:

 h The first experimental release of REBOL/Core for Tao
 h Elate/intent VP is now available for download. It should work
 h on any TAO Elate platform, but so far has only been tested
 h with the current Amiga SDK. Whether this current version will
 h also work with future SDKs or the new Amiga remains to be
 h seen, but we are hopeful :-)

It seems to work quite well here. The console hangs when pressing
the "Home" key (and other special keys too I assume), I'll check
later if this is related to REBOL only.

Some statistics: the VP code for REBOL is about 240k (the linux
version is a bit smaller, about 230k); the translation to native
code takes 0.63 seconds and produces a binary of about 350k (I
don't recall the exact size...). It is a bit slower than the linux
version: a script I wrote (Quine-McCluskey reduction
algorithm, fed with 128 minterms) takes 129 s on Elate and 104 s
on linux. So the translator seems to be fast but not really
accurate.

Regards,
Gabriele.
-- 
Gabriele Santilli [EMAIL PROTECTED] - Amigan - REBOL programmer
Amiga Group Italia sez. L'Aquila -- http://www.amyresource.it/AGI/




[REBOL] Bug in either clean-script.r or the parser.

2000-08-04 Thread bhandley

I've been using clean-script heavily recently, and have now tripped over the
following problem.

clean-script mangles the attached script.

Specifically it creates an unmatched "(" for the following line. In other
tests it could be a new "[".

table-start: [text-line (emitter/start-table trim text) newline]

The thing is it handles earlier such lines correctly, which leads me to
think about the parser.

I've think I've narrowed it down to the script not "consuming" the first "["
for this line. Instead load/next gets and it will return a block value.

I tried removing some lines before this line and the error moved. Same for
when you add extra lines - BUT they have to be of the same type not just any
old line.

Any ideas?

Thanks.
Brett.

---
 my-rebol-stuff
== http://www.zipworld.com.au/~bhandley/rebol


 text-to-html.r


[REBOL] REBOL the Official Guide Re:

2000-08-04 Thread carlos

Hi,

I want to make your words mine. I think Rebol just a great product and an
excelent language to start programming. Carl and his team have done a real
great job!

I ordered my copy of REBOL Official Guide just yesterday at Amazon books by
less than US$ 28 and I'm anxious to put my hands on it!

Unfortunatelly in my country, Brazil, I have not found yet other people that
program with REBOL to exchange some experience.

I also would like to make an invitation to the people in this group that
speaks Portuguese :-) to join me and help me build a Portuguese web site
dedicated to REBOL.

Greetings

Carlos Lorenz


- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Quinta-feira, 3 de Agosto de 2000 18:03
Subject: [REBOL] REBOL the Official Guide



 I just want to urge everyone who is serious about learning REBOL to buy
the
 book "REBOL - The Official Guide".  I dont work for REBOL or anyway profit
 from this book.  However, I know many people on these lists have had great
 benefits from RT products whether beta or not.  Carl and his staff have
 worked very hard to create a great product and I have heard great things
 about the book.  I myself have already ordered and await anxiously for
 arrival.  I also want to thank all of you for your help and contribution
to
 the lists.  Amazon, is asking for reviews so if you have recieved the book
 Im sure you will post great things about the book.  Have fun everyone!

 Paul






[REBOL] javascript tetris ... Re:

2000-08-04 Thread bo


Netscape on RedHat Linux 6.2 only allows me to move the piece around, but
no way I can see to set it.  I take it this isn't a real-time action game,
but more of a puzzle, at least from the way it looks on my machine.


On 4-Aug-2000/13:43:16+2:00, [EMAIL PROTECTED] wrote:
http://www.sylloge.com:8080/5k/entries/23/index.html

-pekr-

-- 
   Bohdan "Bo" Lechnowsky
   REBOL  Adventure Guide
   REBOL Technologies 707-467-8000 (http://www.rebol.com)
Download the REBOL Messaging Language
   The Official Source for REBOL Books (http://www.REBOLpress.com)




[REBOL] RE: proxy.r blues

2000-08-04 Thread galtbarber

Elan, I just found out that if I use 
Netscape instead of IE, I don't get missing Icons.
So obviously Netscape and IE are doing something 
differently.  Maybe Netscape fails like IE to 
get the icons, but is willing to try another 
fetch on a fresh connection for each before 
giving up or something, whereas IE just gives up 
and doesn't retry.  Not sure...

I would still think that we should be able to 
make a proxy server or webserver with Rebol that 
works with IE.  Right now it doesn't work with IE4,
and I now have several versions of proxy.r including 
one that I ran with no modifications by me that 
I got off rebol.org.

I also received a newer version of proxy.r from Sterling,
but it uses do %..\setnet.r and I don't have setnet.r 
anywhere, but looking at the rest of the code,
it uses the same basic approach, so I assume it too 
would fail like a dog on IE4.

I don't know if some older version of the rebol.exe 
would make the proxy.r work with IE4, but I suspect 
it wouldn't.  I maybe able to still get my Load 
Testing project to work using Netscape, but I 
would like to investigate the cause and have it fixed!!!

I think that maybe rebol is doing something with 
tcp in windows that IE4 doesn't like?  Well, 
I don't know much low level tcp/ip at all.

Any suggestions?

I wish I had thought earlier to try Netscape!
But I didn't want to believe it it could make any difference!

By the way, I tried every alternative,
with http1.1, without, http1.1 with/wo proxy, etc, 
under the proxy settings on the connection tab 
and on the advanced tab on the IE browser,
and none of that seemed to help.

Thanks as always!!

-Galt

p.s. Should this be considered a bug reportable event?

= Original Message From Elan [EMAIL PROTECTED] =
Hi Galt,

I took a quick look at it. Using the following configuration:

Win95 machine/133 MHz clone w/32 MB RAM,

REBOL/Core 2.4.24.3.1

and the proxy.r script from:
Date: 4-Aug-1999

IE 4.72

I visitend the following sites:

www.excite.com
www.altavista.com
www.nonags.com/nonags/
www.winfiles.com
www.hotfiles.com
www.rebol.com
www.rebolpress.com

I ran into a problem at nonags with the ad, but I had the same problem
earlier today with the same site and the ad, and no REBOL involved then, so
I'm not sure REBOL is to blame.

1. What is your configuration?
2. Which sites give you headaches?
3. Does it depend on how long you run the script for?
4. If you hit the same site repeatedly, do you consistently not get the
icons, none at all?, some missing? How many do you get, and how many are
missing?
5. Does REBOL stop win an error when that happens, or does it continue to 
run?
6. If it continues to run, can you successfully visit other, bonafide
non-problem sites?

If you can answer these questions, and supply a list of problem sites, it
will make it easier for me to duplicate the problem and hopefully find out
why you're having trouble.

Take Care,


;- Elan [ : - ) ]
author of REBOL: THE OFFICIAL GUIDE
REBOL Press: The Official Source for REBOL Books
http://www.REBOLpress.com
visit me at http://www.TechScribe.com




[REBOL] Re: reverse Re:

2000-08-04 Thread weirddream

Nazdarek [EMAIL PROTECTED]

thanks, time to read documentation again :-)

On 03-srp-00, [EMAIL PROTECTED] wrote:
 Hi Boleslav
 
 Try
 
 head reverse "abcd"
 == "dcba"
 
 Reverse leaves the current pointer at the tail of the reversed block.
 
 -Larry
 
 - Original Message -
 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Sunday, July 30, 2000 11:16 PM
 Subject: [REBOL] reverse
 
 
 Zdravim,
 
 has anybody ever tried reverse?
 On my 2.3.0.1.1 I get some strange results:
 
 reverse 1.2.3.4;for tuple!
 == 4.3.2.1;is it okay
 reverse 1x5;for pair!
 == 5x1;is it okay too
 
 this was okay, strange results now:
 
 reverse "abcd"
 == ""
 reverse #{a1b2}
 == #{}
 reverse [a b c d]
 == []
 reverse [1 2 "a" "b"]
 == []
 
 etc etc etc...
 
 
 Louci se
 --
 ---
 Boleslav Brezovsky, NOT know as Kryptoplex, maybe on [EMAIL PROTECTED]
 member of R.U.R (means RobotenUndRebol this week)
 www.volny.cz/weirddream   MUSICSOUND
 listen.to/sintezar   ---
 
 
 
 
 
 
Diky za pozornost,
-- 
---
Boleslav Brezovsky, NOT know as Kryptoplex, maybe on [EMAIL PROTECTED]
member of R.U.R (means RobotenUndRebol this week)
www.volny.cz/weirddream   MUSICSOUND   listen.to/sintezar   
---





[REBOL] REBOL the Official Guide Re:(2)

2000-08-04 Thread ptretter

I got my book today and wow is it packed.  Totally awesome!  Much better
than I expected.  By the way Carl thanks us all for our participation in
this great list.  Get the Book - you will be glad you did.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Friday, August 04, 2000 4:26 PM
To: [EMAIL PROTECTED]
Subject: [REBOL] REBOL the Official Guide Re:


Hi,

I want to make your words mine. I think Rebol just a great product and an
excelent language to start programming. Carl and his team have done a real
great job!

I ordered my copy of REBOL Official Guide just yesterday at Amazon books by
less than US$ 28 and I'm anxious to put my hands on it!

Unfortunatelly in my country, Brazil, I have not found yet other people that
program with REBOL to exchange some experience.

I also would like to make an invitation to the people in this group that
speaks Portuguese :-) to join me and help me build a Portuguese web site
dedicated to REBOL.

Greetings

Carlos Lorenz


- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Quinta-feira, 3 de Agosto de 2000 18:03
Subject: [REBOL] REBOL the Official Guide



 I just want to urge everyone who is serious about learning REBOL to buy
the
 book "REBOL - The Official Guide".  I dont work for REBOL or anyway profit
 from this book.  However, I know many people on these lists have had great
 benefits from RT products whether beta or not.  Carl and his staff have
 worked very hard to create a great product and I have heard great things
 about the book.  I myself have already ordered and await anxiously for
 arrival.  I also want to thank all of you for your help and contribution
to
 the lists.  Amazon, is asking for reviews so if you have recieved the book
 Im sure you will post great things about the book.  Have fun everyone!

 Paul






[REBOL] graphic file conversion Re:

2000-08-04 Thread rebol

Hi Galt,

there is a patent (owned by unisys). My understanding is that unisys does
not charge any royalty fees if the software is free, however.

At 07:42 PM 8/4/00 -0400, you wrote:
Hi, I just did a screen snapshot in windows,
then pasted it into paint and the saved 
and you get an enormous uncompressed windows 
bmp.  Could I use some trick in Rebol/View 
to turn it into a gif file or other nice format?
I know View must be able to read gif jpg and 
maybe some others in order to render them 
on faces.  Can it write them, too?
Is there some lousy gif patent that lets 
you provide gif readers but not gif writers?

-Galt




;- Elan [ : - ) ]
author of REBOL: THE OFFICIAL GUIDE
REBOL Press: The Official Source for REBOL Books
http://www.REBOLpress.com
visit me at http://www.TechScribe.com





[REBOL] Bug in either clean-script.r or the parser. Re:

2000-08-04 Thread allenk

Hi Brett,

I've had a few problems occasionally with this script too. I tried hard to
track down the exact condition that caused the bug, but couldn't. I've also
noted that if run a few times in the same session it can accumulate indents.

Send your bug report direct to the author..

Cheers,

Allen K

- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, August 05, 2000 2:48 AM
Subject: [REBOL] Bug in either clean-script.r or the parser.


 I've been using clean-script heavily recently, and have now tripped over
the
 following problem.

 clean-script mangles the attached script.

 Specifically it creates an unmatched "(" for the following line. In other
 tests it could be a new "[".

 table-start: [text-line (emitter/start-table trim text) newline]

 The thing is it handles earlier such lines correctly, which leads me to
 think about the parser.

 I've think I've narrowed it down to the script not "consuming" the first
"["
 for this line. Instead load/next gets and it will return a block value.

 I tried removing some lines before this line and the error moved. Same for
 when you add extra lines - BUT they have to be of the same type not just
any
 old line.

 Any ideas?

 Thanks.
 Brett.

 ---
  my-rebol-stuff
 == http://www.zipworld.com.au/~bhandley/rebol