[Omake] Re: A minimal tag system for omake

Alain Frisch alain.frisch at lexifi.com
Wed Dec 5 05:51:45 PST 2007


Alain Frisch wrote:
> GetDynVar(var, tag) =
>   result =
>   try
>     map = $(getvar $(var))
>     result = $(map.find $(tag))
>   catch Exception(v)
>   value $(result)

Btw, I've observed that with the current SVN rev of omake, it is not
necessary to explicitly "export" in the try block above, whereas in the
released version, the "export" directive is needed. Is this change
intentional?

-- Alain




More information about the Omake mailing list