[REBOL] String formatting

2000-03-14 Thread bregolin
The following is rather trivial... anyway: what is the most convenient way of formatting strings in Rebol, let say for producing suitable output, la printf/sprintf in C? Thanks, Mauro Bregolin begin:vcard n:Bregolin;Mauro tel;fax:+39 049 8073066 tel;work:+39 049 8073066 x-mozilla-html:TRUE

[REBOL] Finding current dir? Re:(2)

2000-03-14 Thread bpaddock
If you want to use the directory of the bat file that launched the script then technically it is the parent of the script. You will find that path of that in system/script/parent/path True, but if trim.bat and trim.r are both in the same directory in the path, say N:\UTL, and I run from the

[REBOL] { in strings - workarounds? Re:

2000-03-14 Thread ingo
Hi Volker, this problem has been found before, when trying to save history to files, here's a history save function, that does it right ... ; ; History save and load by Christoph Mammitzsch ; save-history: func [ "Saves system/console/history to file." file [ file! ] "the file to save

[REBOL] Function without argument ... Re:

2000-03-14 Thread ingo
Hi Eric, you could use this ... Those were the words of [EMAIL PROTECTED]: Hi ! Newbie question !!! Is it possible to test a lack of argument in a function ? I try things like this but... it doesn't work ! unset!: do [type?]; this defines unset! tst: func [ {help for

[REBOL] String formatting Re:

2000-03-14 Thread icimjs
There should be a rather complete solution called format.r located in the user contribution archive at http://www.rebol.org At 10:17 AM 3/14/00 +0100, you wrote: The following is rather trivial... anyway: what is the most convenient way of formatting strings in Rebol, let say for producing

[REBOL] Finding current dir? Re:(3)

2000-03-14 Thread VoToNi
system/script/parent/path seems to be the current directory (maybe a bug ;-) After this there is a rebol-script in %test/, another bat in %test2/ and a bat in %test3/, which sets the paths to %test2/ and calls the bat there. the path is set to %wherever/test3/, which is the current directory.

[REBOL] official guide Re:

2000-03-14 Thread larry
Hi Ryan The release date is listed as April 2000. You can read three chapters here: http://www.pbg.mcgraw-hill.com/betabooks/feb00/goldman/index.html HTH Larry - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 14, 2000 9:12 AM Subject: [REBOL]

[REBOL] Closing conection in windows

2000-03-14 Thread JavierD
hi there, i have a little problem. I made a script for downloading files for updating data automatically. When i execute the script, windows dial automatically to conect to internet, but how can i close the connection when the scripts end? I think i can send an order to the serial port to

[REBOL] { in strings - workarounds? Re:(3)

2000-03-14 Thread VoToNi
In einer eMail vom 14.03.00 16:49:23 (MEZ) Mitteleuropäische Zeit schreibt [EMAIL PROTECTED]: Thanks for the rescue. will paste it. BTW, one missing thing is "^^"? :) "^^"?? Hahaha, no, Your code is ok :-) I changed it a bit for my needs, see below. Thank you, database runs again :) (Have

[REBOL] [REBOL] Function without argument ... it works !

2000-03-14 Thread ebz
On 14 Mar 00, at 10:54, [EMAIL PROTECTED] wrote: Hi Ingo !!! Thanks a lot ! It works ;) ... unset!: do [type?]; this defines unset! tst: func [ {help for tst...} x [integer! unset!]; allow unset! values ][ if not value? 'x [ ; test if x has got a value, use '

[REBOL] web mail

2000-03-14 Thread tf
hey guys, does anyone have a script I can *cough* borrow with which I can send and receive web-based mail like Yahoo's or Xoom's? The Rebol Offical Guide should be here next month? I'm chomping at the bit. Nothing is like ink on real paper to read... Think I'll go order myself a copy

[REBOL] Finding current dir? Re:

2000-03-14 Thread krobillard
I had a some difficulty myself with trying to get the current directory and was convinced there was a bug in REBOL. system/script/parent/path is the directory where rebol (or an auto-running script) was invoked from the command line. system/script/path is the directory what-dir returns and what

[REBOL] Database Access

2000-03-14 Thread evz
Hi, I've only come accross REBOL two days ago, and looking through the documentation I could only find reference to the simple flat file database fucntions. Is there any libraries or functions available for REBOL for access to RDBMS's like PostgreSQL, Interbase and also MySQL ? Also, can