While compiling a vb program I get the following error
[EMAIL PROTECTED]:~/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
[EMAIL PROTECTED]:~/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.
[EMAIL PROTECTED]:~/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
[EMAIL PROTECTED]:~/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.
_______________________________________________
Mono-vb mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/mono-vb