[Mono-list] bC29999
Amish Munshi
amishmunshi at gmail.com
Sat May 28 04:37:26 EDT 2005
I did not get any response for this mail mono-vb yesterday, I am
reposting this to the mono-list
While compiling a vb program I get the following error
prog at home:~/code> mbas frmBank.vb
--------
MonoBASIC: THIS IS AN ALPHA SOFTWARE.
--------
syntax error, got token `EXCLAMATION'
frmBank.vb(89,40) error BC29999: Parsing error
Compilation failed: 1 Error(s), 0 warnings
prog at home:~/code>
The 89th line is
Me.btnCancel.Font = New System.Drawing.Font("Tahoma", 8.25!,
System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point,
CType(0, Byte))
If I remove the ! sign it continues and give me the following error.
prog at home:~/code> mbas frmBank.vb
--------
MonoBASIC: THIS IS AN ALPHA SOFTWARE.
--------
syntax error, got token `COMMA'
frmBank.vb(150,90) error BC29999: Parsing error
Compilation failed: 1 Error(s), 0 warnings
prog at home:~/code> vi frmBank.vb
But there is no comma at 150,90.
Following is the 150th line.
Private Sub btnSave_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnSave.Click, btnCancel.Click
Any clues on what can be wrong??
Amish.
--
Amish K. Munshi.
More information about the Mono-list
mailing list