Hi,

Two little questions.

1. Has Neko an equvivalent of ternary operator? I mean construction like
"var foo = bar ? value1 : value2".

2. Is it possible to expand current variable scope with values from an
external module? E.g. I have module which exports foo() and bar(). Somewhere
in other code I wan't to use foo() and bar() functions in this way:

$loader.loadmodule("my-module", $loader);
foo();
bar();

// instead of
tools = $loader.loadmodule("my-module", $loader);
tools.foo();
tools.bar();


Thank you.

--

BR,
Vitali Falileev
http://blog.insideable.com
ICQ: 75008864
-- 
Neko : One VM to run them all
(http://nekovm.org)

Reply via email to