Search:
Namespaces
Discussions
.NET v1.1
Feedback
JScript.NET Applications
Messages
Related Types
This message was discovered on
microsoft.public.dotnet.languages.jscript
.
Post a new message to this list...
Dongyon Kang
Hi,
I'm new to JScript.NET, although I have been using JavaScript and Java for a
long time. I was messing around with the JScript.NET compiler and I was
wondering if I could write a program (a real application, not a web page)
using JScript.NET. I've read a few articles about the .NET framework and I
kinda got the impression that, if you use any .NET language, you can use the
same library despite the language you use. So I'm thinking that since
System.
Console
.WriteLine("Hello World"); is the command line you need for a
C# program, you could use the same line in a JScript program? I know it
doesn't work, but can anyone clarify this for me? And also please answer to
my first question - whether you could write a GUI-based window application
or not. Thanks.
Dongyon Kang
Reply to this message...
Martin Honnen
Dongyon Kang wrote:
[Original message clipped]
The following works for me with, tested with .NET SDK 1.1:
import System;
public class Test20040704 {
public static function Test (args: String[]) : void {
Console
.WriteLine("Kibology for all: {0}.",
DateTime
.Now);
}
}
Test20040704.Test([]);
[Original message clipped]
It should be possible but clearly MS doesn't see JScript.NET as a
language for writing WinForm applications, for that they have C# and
VB.NET with the proper tool support.
--
Martin Honnen
http://JavaScript.FAQTs.com/
Reply to this message...
Justin Rogers
http://weblogs.asp.net/justin_rogers
/articles/120111.aspx
It is more the possible to write entire applications in JScript .NET.
The above link is to a wizard framework I've developed and then
ported to a number of popular .NET languages so it could be made
available to a larger audience.
--
Justin Rogers
DigiTec Web Consultants, LLC.
Blog:
http://weblogs.asp.net/justin_rogers
"Martin Honnen" <
Click here to reveal e-mail address
> wrote in message
news:
Click here to reveal e-mail address
...
[Original message clipped]
Reply to this message...
System.Console
System.DateTime
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us
-
Terms of Use
-
Privacy Policy
-
www.dotnet247.com