Quote:
>Can anyone tell me what kind of problems to expect when trying to compile a
>qbasic program with firstbasic (shareware version)?
>My son has written numerous qbasic programs, but none will compile. Where
>can we get syntact help?
FirstBasic is mostly compatible, but not completely.
The differences that cause the most "problems" are:
1) the slightly different syntax for DIM.
QBasic: DIM SHARED A AS INTEGER
FBasic: DIM A AS SHARED INTEGER
2) FirstBasic has no build-in support for SCREEN 13. So if the program
makes use of VGA graphics, you'll need to add some routines of your own.
This will take a little more tweaking, but can be done:
' To enter screen 13:
REG 1,&H13
CALL INTERRUPT &H10
DEF SEG=&HA000
' To plot a pixel to the screen:
POKE x% + 320 * y%, colour?
--
Marc van den Dikkenberg
-----------------------
The powerbasic Archives
http://www.xs4all.nl/~excel/pb.html