Jump to content
  • Advertisement
Sign in to follow this  

FreeBASIC 0.17 is here

This topic is 4140 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

The official release or FreeBASIC 0.17 is out since May 14 Get it at http://www.freebasic.net/forum/viewtopic.php?t=8256 What's new? Here are the most important additions. New -lang command line option -lang qb is designed to compile QB programs, supports GOSUB, ON ERROR, and returns to the default SINGLE variable type. In return it is limited to 4Mb of memory and will not support OOP. Compatibility with QB will be improved. -lang fb requires the declaration of all variables, switches to passing parameters byval by default, does not support ON ERROR, GOSUB or type suffixes. In exchange it supports OOP features -lang deprecated is for compatibility with pre 0.17 FB programs and will ve removed in the future Enhanced TYPE working as objects: -method ,properties, constructors and destructors support -private and public members and methods -operator overloading in types -new and free operators -Not supported yet: static members and inheritance Syntax enhancements: -FOR [var] AS [type] = 0 -Multi-level EXIT and CONTINUE (now it's legal to write EXIT DO, DO, DO) New functions in the runtime lib: -FRAC, FileCopy, FileAttr, FileLen, FileDateTime.IsDate -__FB_ARGC__ __FB_ARGV__ allow to manage the command line parameters in C style -Rnd relies now in a high resolution Mersenne Twister algorithm and no morein C runtime's rand (which gave different results in differnt platforms). A clone QB's RND algorithm is used witg -lang qb -TYPEOF (works at compile time) New in the gfxlib: -VESA linear drive in the DOS version -Support for fullscreen in Win32-GDI -SCREENEVENT to mouse, keyboard and window focus changes -SCREENCONTROL allows to set and retrieve gfx system internal states, for example to set the window position -GFX_NO_FRAME,GFX_SHAPED_WINDOW,GFX_ALWAYS_ON_TOP for frameless, shaped or always on top graphic windows -BLOAD and BSAVE manage palettes in 256 bits modes -#macro #endmacro preprocessor keywords allowing for multiline macros -lillo's profiler dropped in favor of gprof (gnu's profiler) -Built in variables holding the state of most of the command line options for use in conditional compilation -Headers translated for libraries as GDI+, JavaNative Interface, Cairo ..and many more. Enjoy!

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!