.NETGURU
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




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification