I have been using fb 18.2
I was using trying out fbc 20.
Trying lang qb. Giving me fits. Errors, etc.
Anyway I tried lang fblite.
With only adding option gosub; it compiled right away without errors !
Fbc 20 Lang Fblite does it better then lang qb !
something to tell you, have you. seeing the fact that QBasic is a language
made atleast twenty years ago, and that FreeBasic is only made five years
ago. QBasic is an OLD language, and at that time. 3D didnt exist, but at
the time FreeBasic was made. 3D Indeed existed, and so FreeBasic was
better than QBasic. get that in consideration, lassar. but if both of these
languages are made at the same time, and the New QBasic is like the
QBasic known now. then FreeBasic is indeed ten times superior!
made atleast twenty years ago, and that FreeBasic is only made five years
ago. QBasic is an OLD language, and at that time. 3D didnt exist, but at
the time FreeBasic was made. 3D Indeed existed, and so FreeBasic was
better than QBasic. get that in consideration, lassar. but if both of these
languages are made at the same time, and the New QBasic is like the
QBasic known now. then FreeBasic is indeed ten times superior!
lang qb was made closer to qb with SINGLE type and pass by reference as default, this dialect can break old FB code easily
the natural dialect to recompile a program made in the old versions of FB is lang -fblite. It's the dialect for lazy coding too.
and finally lang -fb is for classes and big programs that are best maintained by declaring absolutely everything.
the natural dialect to recompile a program made in the old versions of FB is lang -fblite. It's the dialect for lazy coding too.
and finally lang -fb is for classes and big programs that are best maintained by declaring absolutely everything.
-
- Site Admin
- Posts: 6323
- Joined: Jul 05, 2005 17:32
- Location: Manchester, Lancs
Yeah, the best dialect depends on the program you're writing, and whether you're starting from scratch or porting code from QB or an old version of FB.
Lang qb should be best for porting old QB programs. But for most experienced FB programmers, it is a pain to use because you find half the functionality is missing. You can get some of it back by prefixing some keywords with underscores, e.g. __ptr, but some things are disabled, and a few things might not work properly. You also have to watch out for the 2-byte Integer issue.
Lang qb should be best for porting old QB programs. But for most experienced FB programmers, it is a pain to use because you find half the functionality is missing. You can get some of it back by prefixing some keywords with underscores, e.g. __ptr, but some things are disabled, and a few things might not work properly. You also have to watch out for the 2-byte Integer issue.