VBScript

Constants

VBScript does not provide support for constants, such as you find in other programming languages. You can work around this by assigning values to variables that you have defined as shown in the example below. Here, FUDGE_FACTOR is our constant.

<script language="vbscript">
<!--
dim FUDGE_FACTOR

FUDGE_FACTOR = .06

Function CalculateThis
CalculateThis = SomeVariable * FUDGE_FACTOR
End Function
-->
</script>

Print This Page   |   Email me when this page changes    |  Search This Site



Crucial.com System Scanner does the work for you!



/a_global/close_links.inc"); ?>

Contact Us