Results 1 to 2 of 2

Thread: Creating Constant Variables

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Jan 2001
    Location
    Florida
    Posts
    3,216

    Talking

    Hello all!

    I am in VB Script today and I was wondering HOW do I make a Constant variable equal to a dollar or currency value? I need to create constant variables that will hold hard coded dollar values.

    What is the syntax?

  2. #2
    Frenzied Member Mark Sreeves's Avatar
    Join Date
    Nov 1999
    Location
    UK
    Posts
    1,845
    Code:
    <HTML>
    <HEAD>
    <Script language=VBscript>
    const x = 32
    
    msgbox x
    
    </script>
    
    </HEAD>
    <BODY>
    
    </body>
    </html>
    note: constants are constant but variables are variable
    Mark
    -------------------

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