Re: Not available in Maple 9 anymore: save all variables once
From: Humberto Jose Bortolossi (hjbortol_at_mat.puc-rio.br)
Date: 02/15/05
- Next message: Robert Israel: "Re: Not available in Maple 9 anymore: save all variables once"
- Previous message: Hilal: "Re: Other challenge"
- In reply to: Carl Devore: "Re: Not available in Maple 9 anymore: save all variables once"
- Next in thread: Robert Israel: "Re: Not available in Maple 9 anymore: save all variables once"
- Reply: Robert Israel: "Re: Not available in Maple 9 anymore: save all variables once"
- Reply: devore_at_math.udel.edu: "Re: Not available in Maple 9 anymore: save all variables once"
- Reply: devore_at_math.udel.edu: "Re: Not available in Maple 9 anymore: save all variables once"
- Messages sorted by: [ date ] [ thread ]
Date: 15 Feb 2005 11:41:09 -0800
Hi!
I've tried to use the parse command to build a "save all"
command. Unfortunately, parse complains about the reserved
word save in the string.
I wonder why the Maple's programmers decided to remove
the "save all" functionality.
Best, Humberto.
> sc := "save ":
> for l in [anames( 'user' )] do
> sc := sprintf("%s %s,", sc, l);
> od:
> sc := sprintf("%s \"%s\"", sc, libFileName);
sc := "save computeSumOfPartialFullCosts, save computeSumOfPar\
tialFullCosts,, computeSumOfGenerationHBSDDP, computeGPiec\
ewisePrimeInverse, computeH, E, F, G, computeIntervalEnds,\
computeGPiecewisePrime, l, computeGPiecewise, computeSumO\
fPartialFullCostsSDDP, EPrime, computeSumOfGenerationHB, /\
export/home/hjbortol/hsp/maple/2005/ThermalSystemState.mai\
n.m, GSDDP, plotG1, plotG2, printToFile, computeIntervalEn\
dsSDDP, thermalSort, plotGPrime, thermalSortSDDP, /export/\
home/hjbortol/hsp/maple/2005, printGTau, "/export/home/hjb\
ortol/hsp/maple/2005/ThermalSystemState.main.m""
> parse(sc);
Error, incorrect syntax in parse: reserved word `save` unexpected (41)
Carl Devore <devore@math.udel.edu> wrote in message news:<Pine.LNX.4.62.0502141522260.9757@bishop.math.udel.edu>...
> This message is in MIME format. The first part should be readable text,
> while the remaining parts are likely unreadable without MIME-aware tools.
>
> ---1350506480-1384856424-1108412606=:9757
> Content-Type: TEXT/PLAIN; charset=X-UNKNOWN; format=flowed
> Content-Transfer-Encoding: QUOTED-PRINTABLE
>
> On Mon, 14 Feb 2005, Humberto Jose Bortolossi wrote:
> > The problem is: I don=B4t know to make Maple evaluate (interpret) the=20
> > contents of the "eval_me" variable. Is there a such way? I mean, if I=20
> > have a symbol or string with a maple command, is it possible to make=20
> > Maple interpret such string and execute the command? Does Maple operate=
> =20
> > in a meta level?
>
> Yes, the command that you want is `parse`. See ?parse.
> ---1350506480-1384856424-1108412606=:9757--
- Next message: Robert Israel: "Re: Not available in Maple 9 anymore: save all variables once"
- Previous message: Hilal: "Re: Other challenge"
- In reply to: Carl Devore: "Re: Not available in Maple 9 anymore: save all variables once"
- Next in thread: Robert Israel: "Re: Not available in Maple 9 anymore: save all variables once"
- Reply: Robert Israel: "Re: Not available in Maple 9 anymore: save all variables once"
- Reply: devore_at_math.udel.edu: "Re: Not available in Maple 9 anymore: save all variables once"
- Reply: devore_at_math.udel.edu: "Re: Not available in Maple 9 anymore: save all variables once"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|