Advertising banner:
 
 
 A313
 
81203_43854_21.png 81203_43840_19.png



Variable
Definition
Acceptable values
Range
Currency
Used for variables that contain monetary data. This data type uses a fixed decimal point and supports up to 15 digits to the left of the decimal and 4 digits to the right.
This is a superior data type for monetary calculations because the Single and Double data types are subject to small rounding errors.
-922337203685477.5808 to 922337203685477.5807
Date
Used for variables that contain date data in a valid date format such as 1/1/2000 or January 1, 2000, as well as time data.
81203_42521_14.png        Note
You can also use numeric data types for dates. If you do this, values to the left of the decimal represent the days from December 30, 1899. Values to the right of the decimal represent time as a fraction of a day (for example, 12:00 PM is represented as .5).
January 1, 100 to December 31, 9999
DBConnection
Creates a database connection object.
DBConnection has its own set of attributes and methods.
DBStatement
Creates a database statement object.
DBStatement has its own set of attributes and methods.
Double
Used for variables that can contain any numeric value, including fractions and numbers of high decimal precision. This data type is less efficient than the Integer and Long data types, but more flexible.
The Single data type has the same constraints and size limits as Double. You can use these data types interchangeably. FCAS treats the traditionally smaller Single data type as a Double to support legacy BASIC code.
-1.79769313486231E308 to  1.79769313486231E308
Email
Creates an email object.
Email has its own set of attributes and methods.
File
Creates a file object.
File has its own set of attributes and methods.
Integer
Used for integer data types. See the Long data type for more information.
-2,147,483,648 to 2,147,483,647
Long
Used for variables that never contain fractions. This data type is smaller and more efficient than numeric data types that can contain fractions.
The integer data type has the same constraints and size limits as Long. You can use these data types interchangeably. FCAS treats the traditionally smaller Integer data type as a Long to support legacy BASIC code.
-2,147,483,648 to 2,147,483,647
Single
Used for single data types. See the Double data type for more information
1.7E +/- 308 (15 digits)
String
Used for variables that contain text strings.
By default, string lengths are variable; however, you can enforce a specific length by using a fixed length String variable. Shorter strings are allowed and are not padded. The length limit is only enforced when the string is longer than the limit.
To make a String variable a fixed length, append an asterisk (*) and a whole number, representing the maximum number of characters, to the String keyword. Strings that are longer than the maximum are truncated.
0 to approximately 65,500 characters
Example
Dim LastName As String * 7


hirosue Shino Web Site