javascript and jscript

This is a discussion on javascript and jscript within the A Brief History of Cprogramming.com forums, part of the Community Boards category; I was wondering, what is the difference btwn javascript and jscript...

  1. #1
    Registered User
    Join Date
    Dec 2007
    Posts
    10

    javascript and jscript

    I was wondering, what is the difference btwn javascript and jscript

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    As a language, they are very similar. JavaScript is used for Web-site scripts, whilst JScript (according to http://en.wikipedia.org/wiki/JScript) is used as Windows Scripting language (to automate tasks in the current machine, rather than as part of producing a web-page).

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  3. #3
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,046
    I'm pretty sure that at least one of my HTML books said that
    Code:
    <script language="jscript">
    and
    Code:
    <script language="javascript">
    were the same thing, though perhaps that has changed, or I am, or the book was, mistaken.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  4. #4
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,612
    Jscript is Microsoft's version of javascript. Don't use it (on the web) since it's not standard.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  5. #5
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    ECMAScript is the standard language.
    JavaScript is the typical name for it. JavaScript also evolves in smaller steps, and mostly under the lead of Mozilla.
    JScript is Microsoft's implementation, which has lots and lots of differences.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  6. #6
    Registered User
    Join Date
    Dec 2007
    Posts
    10

    thanks..

    thank you very much...

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21