CURRENCY Variable of User-Defined TYPE Cannot Use @ Symbol (64103)
This article was previously published under Q64103
SYMPTOMS
A field in a user-defined TYPE ... END TYPE statement must be defined
with the "AS VariableType" form. When accessing the variable in the
program, however, the variable can be referred to with or without the
appropriate type symbol (for example, % for integer, & for long,
etc.). However, a variable of type CURRENCY defined in a user-defined
TYPE cannot be referred to in this manner. If the currency symbol (the
@ sign) is used when accessing the field, the error message "Equal
sign missing" is returned by the BC.EXE compiler. No error occurs when
this format is used in the QBX.EXE environment.
STATUS
Microsoft has confirmed this to be a bug in the Basic compiler
(BC.EXE) in Microsoft Basic Professional Development System (PDS)
versions 7.00 and 7.10 for MS-DOS and OS/2. We are researching this
problem and will post new information here in the Microsoft Knowledge Base
as it becomes available.
Modification Type: |
Minor |
Last Reviewed: |
1/8/2003 |
Keywords: |
KB64103 |
|