save/all
[1/4] from: robert::muench::robertmuench::de at: 3-Apr-2004 13:48
Hi, IMO this is strange:
test: [a b c]
save-db: func [filename database][
save/all filename database
]
With this you will get an error:
** a has no value
save-db: func [filename 'database][
save/all filename database
]
This works WRT evaluation but give an other error I don't understand:
** rval needs a value
** Where: save
** Near: rval: do encloded-func
But save is a native! Does anybody know this problem? I put an attempt
block around the save/all statement and it works. The file is written
correctly. Robert
[2/4] from: g:santilli:tiscalinet:it at: 3-Apr-2004 16:36
Hi Robert,
On Saturday, April 3, 2004, 1:48:49 PM, you wrote:
RMM> But save is a native! Does anybody know this problem?
I guess you have a redefined SAVE. (Using SLIM? I think Max is
redefining SAVE, LOAD etc.)
Regards,
Gabriele.
--
Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer
Amiga Group Italia sez. L'Aquila --- SOON: http://www.rebol.it/
[3/4] from: AJMartin:orcon at: 4-Apr-2004 10:06
> This works WRT evaluation but give an other error I don't understand:
> ** rval needs a value
> ** Where: save
> ** Near: rval: do encloded-func
Note: "encloded-func" seems to be spelled wrongly. Perhaps it should:
included-func
?
--
Andrew J Martin
ICQ: 26227169
http://www.rebol.it/Valley/
http://valley.orcon.net.nz/
http://Valley.150m.com/
[4/4] from: robert:muench:robertmuench at: 4-Apr-2004 10:58
On Sat, 3 Apr 2004 16:36:10 +0200, Gabriele Santilli
<[g--santilli--tiscalinet--it]> wrote:
> RMM> But save is a native! Does anybody know this problem?
>
> I guess you have a redefined SAVE. (Using SLIM? I think Max is
> redefining SAVE, LOAD etc.)
Hi, most likely, yes. But shouldn't I get the redifined SAVE code when
looking at the code? Max, you have any idea how to solve this? Anyhow...
thanks for getting me back on track. Robert