Bookshelf Home | Contents | Index | PDF |
Siebel VB Language Reference > Methods Reference for Siebel VB > Variable Manipulation Methods > Set Variable Data Type StatementThe Set Variable Data Type statement sets the default data type for one or more variables. FormatDefCur varTypeLetters The following table describes the arguments that you can use with this method. UsageThe VarTypeLetters argument can be one of the following: For example, if you specify a-d, then Siebel VB uses letters a, b, c, and d. The case of the letters is not important, even in a letter range. Siebel VB considers the a-z letter range as all alpha characters, including international characters. The Deftype statement affects only the code where you specify it. It must precede any variable definition in the code. To override the Deftype statement, you can use the Global statement or the Declare Variable statement to declare a variable, and then use an As clause or a type character. For more information, see Variants. ExampleThe following example determines the average of bowling scores that the user enters. Because the DefInt c,s,t Related Topics |
Siebel VB Language Reference | Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |