[Mono-list] Re: First Snapshot of MonoBASIC

A Rafael D Teixeira rafaelteixeirabr@hotmail.com
Thu, 16 Aug 2001 18:43:53 -0300


Just to keep you informed, IŽll have to study VB.NET a little more to answer 
your question, because VB.NET is very unlike VB to say in blunt way. In VB 
if you put a "OPTION EXPLICIT", everything has to be pre-defined, else 
everything not pre-defined is of the all-encompassing type Variant now 
replaced by Object.

But even on VB6 you could order method/property definitions  anyway you 
desired, only global variables had to be defined in just one place: before 
any method/property in the module. Maybe that restriction has been lifted, 
IŽll study a bit and answer precisely.

From what I saw of your code I think most of it 'looks' right for VB.NET, 
the biggest trouble IŽm having is with how to handle initializers.

In C# one can say:

int z,x,y;
int a=5,b=6;

and in VB you say:

Dim z,x,y as integer
Dim a as integer = 5
Dim b as integer = 6


Rafael Teixeira
Brazilian Developer


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp