Re: Overflowing a Long



"Mike Williams" <mike@xxxxxxxxxxxxxxxxx> wrote in message
news:ONONYEyXHHA.1388@xxxxxxxxxxxxxxxxxxxxxxx
You're quite wrong. Visual Basic 6 and below *are* essentially the same as
the old versions of BASIC. The only difference is that Visual Basic is
essentially event driven whereas the old versions of BASIC were
sequential. But the old BASIC sequential code will still run in Visual
Basic (VB6 and below), and it will still run in its old sequential mode if
you wish, including line numbers and GoSubs and Returns and almost
everything else. In many cases (although not in all cases of course) you
can just "copy and paste" an entire old fashioned BASIC program (line
numbers and Gosub and all) into a VB6 Command Button click event and click
the button and it will run. There are a few things you will need to alter,
particularly when dealing with keyboard input, but not many. You can't do
that, or anything like it, in Visual FredNet (or whatever they are calling
it now). In Visual FredNet not even a simple Print "Hello World" will work
without modification! VB6 is as much like the old fashioned BASIC as you
can get for a language that is event driven. If you personally looked on
it as something completely new that you had to learn and master from
scratch, as you have suggested, then perhaps you . . . (to be continued)!

But some changes are needed from old basic to VB6. Not using the old basic I
wouldn't know but I suspect your under-exaggerating the changes that would
be required. Maybe a greater number of changes are required for vb.net but
it's still the same basic syntax and much of what doesn't work is code that
relies on libraries (eg ADO). At what point do you consider it a different
language, is there a certain percentage of code?

Michael


.


Loading