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
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
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
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
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
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.
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]
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
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
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 '
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
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
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
13 matches
Mail list logo