1. GFA BASIC -> GFA BASIC for WINDOWS
> [...]
> As long as you stay clear of machine specific peeks, pokes, and
> hardware registers, etc. most GFA commands should translate smoothly
> over to the PC. Don't forget that the PC versions were developed after
> the Atari versions so compatibility was most likely retained.
True. This is of course assuming *.LST format files.
However, there are a few things to watch out for...
Atari-style comments using "!" at end of rows will not be recognized, e.g.
a=1 ! atari comment
will import on the Windows version as
' ==> a=1 ! atari comment
In other words, the entire row will be commented out. If your code has been
commented in this way, the easiest fix is to do a global search and replace, <
! > for < // >, note leading space so as not to strip logical variable tags.
Going the other way is no problem, since the Atari version recognizes // and /*
style comments on a row and changes it to !-style.
There are a few variations on "standard" commands which will surprise one and
not be recognized in the Windows version. From memory, I believe that function
calls without brackets is disallowed,
' ==> a=FN funky
(must be defined and used as FN funky() instead)
' ==> ABSOLUTE a,*b
(not possible at all)
and so on. In general, one must after import do a search for the ==> tags to
correct the more obvious problems, redo any system specific calls (which were
cleverly tucked away in one-off procedures/functions, right?), and then
seriously review the code with regard to variations on version limits to
variables and arrays, Intel-format number storage, what have you.
It is by no means as bad as going to another BASIC, but I would not want to
redo a larger program under stress...
(illegible signature) Bo Leuf
2. drop down list form
3. GFA BASIC ST <--> GFA BASIC PC Windows
4. SCSI bus length in Ultra 2 system
5. looking for gfa-basic v1 (same author as turbo basic xl)
6. Inheritance problem
7. Hisoft BASIC v GFA Basic?
8. Server shutdown
9. FA Atari ST Developer Tools : Prospero C, GFA Basic System 2, Atari ST Basic
10. GFA basic vs. HISOFT basic
11. WANTED: Fun School 2 (under 6), STOS Basic, GFA Basic
12. Info needed: [Enhanced] ST BASIC and GFA BASIC (long)