Bookshelf Home | Contents | Index | PDF |
Siebel VB Language Reference > Methods Reference for Siebel VB > Code Setup and Control Methods > Declare Symbolic Constant MethodThe Declare Symbolic Constant method declares a symbolic constant. It does not return a value. Format[Global] Const constantName [As type] = expression [, constantName [As type] = expression] ... The following table describes the arguments that you can use with this method. UsageTo specify the type of the constant, you can use one of the following characters as a suffix of the constantName argument: You can use this technique instead of using the As clause. If you do not specify a type character, then the Declare Symbolic Constant method derives the type of the value that you specify in the constantName argument from the type of the expression. To specify a global constant, you must declare it in the general declarations section of the module where you must access this global variable. ExampleFor an example, see Convert Expression to Long Method. |
Siebel VB Language Reference | Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |