QBX.EXE Wrong Error If DIM Array of TYPE with Period in Name (71108)






This article was previously published under Q71108

SYMPTOMS

The QBX.EXE environment displays a scrambled or incorrect error message when trying to DIMension an array of user-defined TYPE with a period in the name of the array.

STATUS

Microsoft has confirmed this to be a bug in Microsoft Basic Professional Development System (PDS) versions 7.00 and 7.10 for MS-DOS. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

The following code demonstrates the problem:
TYPE mytype
  a AS INTEGER
END TYPE
DIM myarray.x AS mytype
				
When the code is run by pressing SHIFT+F5 in the QBX.EXE that comes with Basic PDS 7.10, a dialog box pops up and the array named myarray.x is highlighted, indicating an error there, but the displayed error message is garbage. The correct message is supposed to be "Identifier cannot contain period."

In the QBX.EXE that comes with Basic PDS 7.00, the displayed error message is not garbage, but is still incorrect:
"Create or edit a utility menu command"
The correct message is supposed to be "Identifier cannot contain period."

Modification Type: Minor Last Reviewed: 1/9/2003
Keywords: KB71108