[Omake] Documentation example does not work
Aleksey Nogin
anogin at hrl.com
Mon Aug 20 14:36:16 PDT 2007
On 09.08.2007 11:31, Markus Mottl wrote:
> the following example in the documentation does not work:
>
> ----------------------
> A = 1
> B = 1
> C = 1
> SAVE_ENV = $(export A B)
> A = 2
> B = 2
> C = 2
> export $(SAVE_ENV)
> println($A $B $C)
> ----------------------
Markus,
Thanks for pointing this out - starting with 0.9.8.5 the export
statement requires an explicit list of variables, not an expression. If
you do want en expression, you need to use the export function instead:
export($(SAVE_ENV))
Jason have fixed the documentation about a week ago and I've just posted
the updated documentation on the web page. Also note that this was
broken in 0.9.8.5-1 and you'll need 0.9.8.5-3 for this to work.
Aleksey
--
Aleksey Nogin, Research Scientist
Advanced Technologies Department, Information & System Sciences Lab
HRL Laboratories, LLC, Malibu, CA
More information about the Omake
mailing list