Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > ASP class cannot using const?

Reply
Thread Tools

ASP class cannot using const?

 
 
Utada P.W. SIU
Guest
Posts: n/a
 
      01-15-2005
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


 
Reply With Quote
 
 
 
 
Microsoft News
Guest
Posts: n/a
 
      01-28-2005
Const has to be declared outside the class in Classic ASP.

James.

"Utada P.W. SIU" <(E-Mail Removed)> wrote in message
news:uvcb5kr%(E-Mail Removed)...
>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
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot delete a file the process cannot access the file because it is being used by another process ASp.net 2 ary ASP .Net 0 11-28-2006 09:13 AM
Class A contains class B, class B points to class A Joseph Turian C++ 5 12-30-2005 03:24 PM
Nested Class, Member Class, Inner Class, Local Class, Anonymous Class E11 Java 1 10-12-2005 03:34 PM
A parameterized class (i.e. template class / class template) is not a class? christopher diggins C++ 16 05-04-2005 12:26 AM
Class B using Class C, and Class A using both B and C jd C++ 3 11-27-2004 12:13 AM



Advertisments