Eric Auer wrote:
> I would appreciate some FreeBASIC command line options to
> set default types (QB: single for variables, 16bit for INTEGER,
> FB: integer for variables, 32bit for INTEGER). That would
> make FreeBASIC ("command line optionally"!) behave even more
> like QuickBASIC, where appropriate. Automatic arrays for up
> to 10 elements are probably a bad idea, as are automatic
> declarations before CALL, but one could write a preprocessor
> to compile QB programs out of the box. Last but not least,
> padding of fixed length strings should probably have a command
> line "simulate QB" option as well... :-).
>
>   
More QB compatibility will be included in the upcoming version with the 
-lang qb command-line parameter.  This will enable things like call 
without a previous declaration, default data type of single, etc. The 
fixed-length string padding incompatibility will probably be remedied 
"someday" (it's been around and known since the first version).

I am also of the opinion that writing a 16-bit compiler (for any 
language) today would be ignoring the fact that the number of pre-386 
machines still in use is minuscule and dwindling.  I admire the idea of 
backwards-compatibility, but practically, it does not make sense to 
expend extreme efforts to write a compiler in such a constrained 
environment anymore.

-- Daniel


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to