[Neko] NEKO:Quick Question

Athanasios Anastasiou athanastasiou at gmail.com
Thu Aug 16 14:37:00 CEST 2007


Hello Everyone

I am new to Neko in particular and i am basically evaluating the 
language to see:
1)How easy it is to embed and use it as a scripting language
2)Suitability for web projects

So i have this simple piece of code:

int32 aVar=($)date_now();
$print(date_format(aVar,"dd-mm-yyyy"));

which fails when it reaches the date_now(). Parentheses at date_now() 
means that i have tried compiling with and without the dollar sign.

Without the dollar sign i get an invlaid call exception and with the 
dollar sign i get a "Builtin not found" exception.

So the ultra simple question is how do i use the functions defined in 
the libraries? Is there a "use" or "include" directive or something like 
this?

Looking forward to hearing from you
Athanasios



More information about the Neko mailing list