Results 1 to 6 of 6

Thread: Java constants

  1. #1

    Thread Starter
    Frenzied Member Mark Sreeves's Avatar
    Join Date
    Nov 1999
    Location
    UK
    Posts
    1,845
    Are you sure you mean "java"?
    Mark
    -------------------

  2. #2
    Fanatic Member
    Join Date
    Oct 2001
    Location
    Three Anchor Bay, Cape Town, South Africa
    Posts
    769
    yes I mean java. I don't want to use vb on the client side.

  3. #3

    Thread Starter
    Frenzied Member Mark Sreeves's Avatar
    Join Date
    Nov 1999
    Location
    UK
    Posts
    1,845
    Originally posted by Mark Sreeves
    Are you sure you mean "java"?


    or do you mean JavaScript?
    Mark
    -------------------

  4. #4
    Fanatic Member
    Join Date
    Oct 2001
    Location
    Three Anchor Bay, Cape Town, South Africa
    Posts
    769
    sorry, I meant javascript

    Does it make a difference?

  5. #5

    Thread Starter
    Frenzied Member Mark Sreeves's Avatar
    Join Date
    Nov 1999
    Location
    UK
    Posts
    1,845
    Originally posted by shunt
    sorry, I meant javascript

    Does it make a difference?
    Yes a lot!

    Anyway to answer your original question ;
    javascript doesn't have constants as such just use var

    I supose you could use upper case for the variables you want to treat as constants....
    Mark
    -------------------

  6. #6
    Fanatic Member
    Join Date
    Oct 2001
    Location
    Three Anchor Bay, Cape Town, South Africa
    Posts
    769
    ok thanks

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