ASP class cannot using const?

Discussion in 'ASP General' started by Utada P.W. SIU, Jan 15, 2005.

  1. I just write a ASP class, but it sees have problem if the class contain
    const variable....

    class product
    const CHINESE = "tc" 'not allowed in ASP class???
    end class
    Utada P.W. SIU, Jan 15, 2005
    #1
    1. Advertising

  2. Const has to be declared outside the class in Classic ASP.

    James.

    "Utada P.W. SIU" <> wrote in message
    news:uvcb5kr%...
    >I just write a ASP class, but it sees have problem if the class contain
    > const variable....
    >
    > class product
    > const CHINESE = "tc" 'not allowed in ASP class???
    > end class
    >
    >
    Microsoft News, Jan 28, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    11
    Views:
    1,090
  2. Javier
    Replies:
    2
    Views:
    549
    James Kanze
    Sep 4, 2007
  3. 0m
    Replies:
    26
    Views:
    1,095
    Tim Rentsch
    Nov 10, 2008
  4. fungus
    Replies:
    13
    Views:
    874
    fungus
    Oct 31, 2008
  5. Replies:
    2
    Views:
    531
    Andrew Koenig
    Feb 9, 2009
Loading...

Share This Page