Unknown runtime error

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • nobody@nowhere.net

    #16
    Re: Unknown runtime error

    On Wed, 07 May 2008 23:59:21 +0200, Thomas 'PointedEars' Lahn
    <PointedEars@we b.dewrote:
    >nobody@nowhere .net wrote:
    >On Tue, 06 May 2008 21:36:14 +0200, Thomas 'PointedEars' Lahn
    >>nobody@nowhere. net wrote:
    >>>Ever tried to use MS VS.NET for debugging JS? Try it, and you'll
    >>>never want to use anything else.
    >>I have tried it, and I prefer the MS Script Debugger for JScript, for its
    >>not being evaluation software that cannot be registered, and its comparably
    >>small memory footprint. Never wanting to use anything else would be
    >>nonsense anyway because MS VS.NET can only debug JScript, not JavaScript or
    >>other ECMAScript implementations .
    >>
    >It attaches to IE and debugs _any_ script currently running - be that
    >MS-only JScript, plain vanilla JavaScript, or even (cough!) vbscript.
    >
    >You obviously don't know what JScript and JavaScript are.
    Gee, I an doing it for almost 10 years, and I don't know. Pray
    enlighten me: what goes between the tags
    <script language="javas cript" type="text/javascript">
    //some script
    </script>
    ???
    And what this thing refers to:<script language="javas cript"
    type="text/javascript" src="Scripts/someFile.js"></script>

    If the script in question is not javascript, then what is?

    AFAIK, JScript is MS implementation of ESMAscript, with some things a
    bit different from javascript (don't care which ones and how different
    - just not using any MS-specific stuff in scripting). Yet IE
    understands regular plain javascript just as well as any MS-specific
    one.
    It would appear
    >to be best to refrain from posting here until you do.
    This is Usenet. And the last time I checked, the 1st Amendment was
    still on the books.
    >
    >http://jibbering.com/faq/
    >
    >
    >PointedEars
    RGDS,
    NNN



    Comment

    • Lasse Reichstein Nielsen

      #17
      Re: Unknown runtime error

      "nobody@nowhere .net" <mygarbage2000@ hotmail.comwrit es:
      On Wed, 07 May 2008 23:59:21 +0200, Thomas 'PointedEars' Lahn
      <PointedEars@we b.dewrote:
      >>You obviously don't know what JScript and JavaScript are.
      >
      Gee, I an doing it for almost 10 years, and I don't know. Pray
      enlighten me: what goes between the tags
      <script language="javas cript" type="text/javascript">
      (You should omit the "language" attribute :)
      //some script
      </script>
      ???
      And what this thing refers to:<script language="javas cript"
      type="text/javascript" src="Scripts/someFile.js"></script>
      >
      If the script in question is not javascript, then what is?
      Mr. Lahn does not accept the use of "javascript " (and in particular
      "JavaScript ") as a generic name for ECMAScript compatible languages
      used in browsers.
      "JavaScript " is the name of the language accepted by Netscape/Mozilla,
      "JScript" is the name of the language accepted by IE.

      While pedantically correct, this position flies in the fase of
      common usage.
      If the script itself needs a name for its language, then "javascript "
      is the obvious choice (from e.g. the "text/javascript" designation).
      What compatible language interpreters are used to interpret it
      does not change the language of the script, which lies in the
      intersection of these languages.
      AFAIK, JScript is MS implementation of ESMAscript, with some things a
      bit different from javascript (don't care which ones and how different
      - just not using any MS-specific stuff in scripting). Yet IE
      understands regular plain javascript just as well as any MS-specific
      one.
      JScript is slightly different from Mozilla's JavaScript, most web
      scripts lie in the intersection of the two, with authors actively
      avoiding incompatabiliti es. That intersection language is indeed what
      most people mean when they say "javascript ".

      > It would appear
      >>to be best to refrain from posting here until you do.
      This is Usenet. And the last time I checked, the 1st Amendment was
      still on the books.
      Indeed. PointedEars, stop telling people not to post. It's not for you
      to decide.

      /L
      --
      Lasse Reichstein Nielsen - lrn@hotpop.com
      DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleD OM.html>
      'Faith without judgement merely degrades the spirit divine.'

      Comment

      • Thomas 'PointedEars' Lahn

        #18
        Re: Unknown runtime error

        Lasse Reichstein Nielsen wrote:
        "nobody@nowhere .net" <mygarbage2000@ hotmail.comwrit es:
        >On Wed, 07 May 2008 23:59:21 +0200, Thomas 'PointedEars' Lahn
        ><PointedEars@w eb.dewrote:
        >>You obviously don't know what JScript and JavaScript are.
        >Gee, I an doing it for almost 10 years, and I don't know. Pray
        >enlighten me: what goes between the tags
        ><script language="javas cript" type="text/javascript">
        >
        (You should omit the "language" attribute :)
        >
        >//some script
        ></script>
        >???
        >And what this thing refers to:<script language="javas cript"
        >type="text/javascript" src="Scripts/someFile.js"></script>
        >>
        >If the script in question is not javascript, then what is?
        That depends on the ECMAScript implementation that is executing it.
        Mr. Lahn does not accept the use of "javascript " (and in particular
        "JavaScript ") as a generic name for ECMAScript compatible languages
        used in browsers.
        "JavaScript " is the name of the language accepted by Netscape/Mozilla,
        "JScript" is the name of the language accepted by IE.
        >
        While pedantically correct, this position flies in the fase of
        common usage.
        Mr. Nielsen also does not quite get the point which is that JScript and
        JavaScript are different languages, and that a Microsoft Debugger does not
        allow to debug Netscape/Mozilla.org JavaScript as if it was running in a
        friendly environment, such as Gecko-based UAs. Therefore it is not possible
        to stick to MS VS.NET for the development of client-side scripts without
        irresponsibly ignoring the many other execution environments out there.


        PointedEars
        --
        Prototype.js was written by people who don't know javascript for people
        who don't know javascript. People who don't know javascript are not
        the best source of advice on designing systems that use javascript.
        -- Richard Cornford, cljs, <f806at$ail$1$8 300dec7@news.de mon.co.uk>

        Comment

        • Dr J R Stockton

          #19
          Re: Unknown runtime error

          In comp.lang.javas cript message <48222639.80404 03@PointedEars. de>, Wed,
          7 May 2008 23:59:21, Thomas 'PointedEars' Lahn <PointedEars@we b.de>
          posted:
          >
          >You obviously don't know what JScript and JavaScript are. It would appear
          >to be best to refrain from posting here until you do.
          So lautet das Fazit des selbst ernannten Fuhrer.

          --
          (c) John Stockton, nr London, UK. ?@merlyn.demon. co.uk Turnpike v6.05 MIME.
          Web <URL:http://www.merlyn.demo n.co.uk/- FAQish topics, acronyms, & links.
          Proper <= 4-line sig. separator as above, a line exactly "-- " (SonOfRFC1036)
          Do not Mail News to me. Before a reply, quote with ">" or "" (SonOfRFC1036)

          Comment

          • sheldonlg

            #20
            Re: Unknown runtime error

            Dr J R Stockton wrote:
            In comp.lang.javas cript message <48222639.80404 03@PointedEars. de>, Wed,
            7 May 2008 23:59:21, Thomas 'PointedEars' Lahn <PointedEars@we b.de>
            posted:
            >You obviously don't know what JScript and JavaScript are. It would appear
            >to be best to refrain from posting here until you do.
            >
            So lautet das Fazit des selbst ernannten Fuhrer.
            >

            I'm guessing, but does that translate to something like "So says the
            Fascist and self-proclaimed Fuhrer"?

            Comment

            • nobody@nowhere.net

              #21
              Re: Unknown runtime error

              On Thu, 08 May 2008 15:06:39 +0200, Thomas 'PointedEars' Lahn
              <PointedEars@we b.dewrote:
              >Therefore it is not possible
              >to stick to MS VS.NET for the development of client-side scripts without
              >irresponsibl y ignoring the many other execution environments out there.
              >
              >
              >PointedEars
              Fully agree on this one. My approach is - write in one environment
              (accidentally it's VS.NET because it integrates well with my
              server-side environment), test - and quite often do
              if(isIE){//IE-specific;} if(isFF){//Firefox-specific;}... - in all
              target environments. Sometimes (more often than I'd like it to happen)
              it's not possible to write to the lowest common denominator due to the
              lack thereof, therefore the branching. Though IMO it is not due to
              syntax or scripting engine differences but rather due to differences
              in document object models. Yet there's nothing better than VS.NET to
              debug IE-specific and common code, so much so that I badly miss it
              when I have to use Venkman for FF branches. Definitely VS.NET is not
              even comparable to MS script debugger - this one is in the same class
              as Venkman.

              NNN

              Comment

              • Thomas 'PointedEars' Lahn

                #22
                Re: Unknown runtime error

                nobody@nowhere. net wrote:
                [...] Thomas 'PointedEars' Lahn [...] wrote:
                >Therefore it is not possible
                >to stick to MS VS.NET for the development of client-side scripts without
                >irresponsibl y ignoring the many other execution environments out there.
                >[...]
                Please trim your quotes, especially avoid quoting signatures.
                Fully agree on this one. My approach is - write in one environment
                (accidentally it's VS.NET because it integrates well with my
                server-side environment), test - and quite often do
                if(isIE){//IE-specific;} if(isFF){//Firefox-specific;}... - in all
                target environments.
                While it is good to see that after all this time you are telling about you
                are able to differentiate between host environments and their associated
                AOM/DOM, you still have to learn to differentiate between execution/runtime
                environments, i.e. ECMAScript implementations . I was more referring to mere
                differences between the language implementations , and between their versions
                that you would be dealing with, instead. For example, the terms
                "IE-specific" and "Firefox-specific" are not covering the differences
                between JScript and JavaScript, whereas the former is used by all versions
                of the MSHTML browser component, and the latter is used by *all* Gecko-based
                UAs (in different versions each), and they are ignoring other implementations .

                See also http://PointedEars.de/es-matrix (I am going to add and test more
                implementations , particularly Opera ECMAScript, and Apple JavaScriptCore as
                of Safari 3.1 for Windows).


                PointedEars
                --
                Use any version of Microsoft Frontpage to create your site.
                (This won't prevent people from viewing your source, but no one
                will want to steal it.)
                -- from <http://www.vortex-webdesign.com/help/hidesource.htm>

                Comment

                Working...