PDA

Click to See Complete Forum and Search --> : Java constants


Mark Sreeves
May 17th, 2002, 06:02 AM
Are you sure you mean "java"?

shunt
May 20th, 2002, 01:10 AM
yes I mean java. I don't want to use vb on the client side.

Mark Sreeves
May 20th, 2002, 05:09 AM
Originally posted by Mark Sreeves
Are you sure you mean "java"?



or do you mean JavaScript?

shunt
May 20th, 2002, 05:59 AM
sorry, I meant javascript

Does it make a difference?

Mark Sreeves
May 20th, 2002, 06:23 AM
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....

shunt
May 20th, 2002, 06:55 AM
ok thanks