DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Declaration of a constant variables....

  1. #1
    Join Date
    Aug 2004
    Posts
    43,023

    Declaration of a constant variables....

    [Originally posted by Cristiano Di Giovanni]

    I want to make this 2 characters: " (chr(34)) and ' (chr(39)) two const variable. If I use the declaration Public Const Apice = "'" it works but, the declarations Public Const Quote = """ or Public Const Quote = Chr(34) are impossible to do...is there anyone who can help me???

    Thanks a lot...

  2. #2
    Join Date
    Aug 2004
    Posts
    43,023

    Re:Declaration of a constant variables....

    [Originally posted by gonzalo]

    you need two quotes to declare one

    use

    const Quote=""""

    the first and the last quotes will be ignored

    hope this help

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center