Results 1 to 5 of 5

Thread: Why does this work in VBScript but not Javascript?

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2000
    Posts
    292
    In JS you have to use "()" with a method and end each line with a ';'
    eg:
    document.writeln("some crap");
    "People who think they know everything are a great annoyance to those of us who do."

  2. #2
    Fanatic Member
    Join Date
    Apr 2000
    Location
    Whats a location?
    Posts
    516
    Thanks, noone.

    I thought that that just applied to C++.

    (That sig's never going to change, is it?)
    Courgettes.

  3. #3
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    I think VB is the only language where you can leave the parentheses out.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2000
    Posts
    292
    I thought about changing the sig but I couldn't think of anything creative. Being creative means I have to use my brain, and my brain has been turned off since the end off school (helped by alcohol and bad sleeping patterns).
    "People who think they know everything are a great annoyance to those of us who do."

  5. #5
    Addicted Member
    Join Date
    Aug 2000
    Location
    Australia
    Posts
    149
    Here is a link to some pages that i made for a friend where one link had to change two frames. It is all written in javascript so have a look and you can use it if you want.

    ftp://hurgh.ath.cx/frames.zip

    Hope this helps

    Hurgh

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width