[Mono-dev] how can i use 'mcs' module with jscript?

LEE, HAN GIL hangulee at gmail.com
Fri Dec 5 20:11:24 EST 2008


Hello all,

I'd like to programming with java script.
So i try to develop by mjs with 'mcs' module.
I wrote code like this for test.

--- test.js ---
import System;
System.Console.WriteLine ("Hello Mono World");

And compile by mjs

mjs test.js

but it shows that message

warning JS1135: Variable 'System' has not been declared
Compilation succeeded

so i remove 'System.' but still show error message that is

warning JS1135: Variable 'Console' has not been declared

how can i use 'mcs' module with jscript?
please short example and gtk# example if possible
-- 
View this message in context: http://www.nabble.com/how-can-i-use-%27mcs%27-module-with-jscript--tp20865478p20865478.html
Sent from the Mono - Dev mailing list archive at Nabble.com.



More information about the Mono-devel-list mailing list