Em 14 de janeiro de 2015, Allin escreveu: > On Wed, 14 Jan 2015, Henrique Andrade wrote: > > > Dear Gretl Team, > > > > We can use the option "--preserve" with the "open" command to preserve > > matrices and scalars. I would like to ask you if it is possible to > include > > strings too (so the "preserve" option will preserve matrices, scalars, > and > > strings). > > Doesn't it preserve strings at present? It's in fact supposed to > preserve all variables other than series. >
It works, but not all the time ;-) Take a look at this code: <hansl> string s = "Hello, World!" print s open Australia.gdt print s </hansl> Best regards, Henrique
Em 14 de janeiro de 2015, Allin escreveu:
On Wed, 14 Jan 2015, Henrique Andrade wrote:
> Dear Gretl Team,
>
> We can use the option "--preserve" with the "open" command to preserve
> matrices and scalars. I would like to ask you if it is possible to include
> strings too (so the "preserve" option will preserve matrices, scalars, and
> strings).
Doesn't it preserve strings at present? It's in fact supposed to
preserve all variables other than series.
It works, but not all the time ;-) Take a look at this code:
<hansl>
string s = "Hello, World!"
print s
open Australia.gdt
print s
</hansl>
Best regards,
Henrique