Using FBIde? Please read this!
-
- Site Admin
- Posts: 6323
- Joined: Jul 05, 2005 17:32
- Location: Manchester, Lancs
Using FBIde? Please read this!
[Edit: see also http://www.freebasic.net/forum/viewtopic.php?p=158080]
At time of writing, the last official release of FBIde is 0.4.6*, and came out in 2006.
A complete rewrite is in the works (details can be found here), but has not yet reached a usable state.
In the meantime, the old version is fairly complete and works well, but users of FBIde may be using a very old version of the FreeBASIC compiler.
If you downloaded FreeBASIC 0.15b + FBIde bundle - Installer package from here, then you should note that it comes with a version of the compiler that is several years old**. The latest version of FreeBASIC at time of writing is version 0.23. It has seen many significant changes, enhancements and bug-fixes since version 0.15b came out, and we strongly recommend for everyone to upgrade to the latest version.
Links to the latest version can be found on the freebasic.net front page, or in the News subforum. Just download the latest version and install over the top of the old version, in the same folder that you installed FBIde.
If you are used to working with version 0.15b, you may find some of the changes prevent your code from compiling. For more information, read this page.
The easiest way to get your code compiling again is to put the line '$lang: "fblite" at the top of your code, or to go into View->Settings->FreeBASIC, and add -lang fblite to the Compiler command line, i.e. "<$fbc>" "<$file>" -lang fblite.
For programs using Gosub/Return, you can re-enable the Gosub feature by putting the statement Option Gosub at the start of your code. Note however, that you will no longer be able to use Return to exit subs/functions if you do this.
* An incomplete version of 0.4.7 can be found here, more details in this post
** This bundle is now no longer visible and a newer bundle is available, but this post may still be applicable to people who have been using FBIDE for a year or two
At time of writing, the last official release of FBIde is 0.4.6*, and came out in 2006.
A complete rewrite is in the works (details can be found here), but has not yet reached a usable state.
In the meantime, the old version is fairly complete and works well, but users of FBIde may be using a very old version of the FreeBASIC compiler.
If you downloaded FreeBASIC 0.15b + FBIde bundle - Installer package from here, then you should note that it comes with a version of the compiler that is several years old**. The latest version of FreeBASIC at time of writing is version 0.23. It has seen many significant changes, enhancements and bug-fixes since version 0.15b came out, and we strongly recommend for everyone to upgrade to the latest version.
Links to the latest version can be found on the freebasic.net front page, or in the News subforum. Just download the latest version and install over the top of the old version, in the same folder that you installed FBIde.
If you are used to working with version 0.15b, you may find some of the changes prevent your code from compiling. For more information, read this page.
The easiest way to get your code compiling again is to put the line '$lang: "fblite" at the top of your code, or to go into View->Settings->FreeBASIC, and add -lang fblite to the Compiler command line, i.e. "<$fbc>" "<$file>" -lang fblite.
For programs using Gosub/Return, you can re-enable the Gosub feature by putting the statement Option Gosub at the start of your code. Note however, that you will no longer be able to use Return to exit subs/functions if you do this.
* An incomplete version of 0.4.7 can be found here, more details in this post
** This bundle is now no longer visible and a newer bundle is available, but this post may still be applicable to people who have been using FBIDE for a year or two
Last edited by counting_pine on May 27, 2011 18:04, edited 5 times in total.
Screen shot of FBide
Screenshot of FBide
http://asimov1.wikispaces.com/A+GUIDE+TO+FREEBASIC
showing a hello world program, with a picture of the. bas and .txt files it creates, the dos console and the output screen.
Four video Tutorials using FBide
http://freebasicportal.wikispaces.com/Video+Tutorials
http://asimov1.wikispaces.com/A+GUIDE+TO+FREEBASIC
showing a hello world program, with a picture of the. bas and .txt files it creates, the dos console and the output screen.
Four video Tutorials using FBide
http://freebasicportal.wikispaces.com/Video+Tutorials
Last edited by TESLACOIL on Oct 01, 2011 21:00, edited 1 time in total.
About improvement and fault of FBIde (version 0.4.6):
- Mysoft published a quickfix to process the bug that make it hang when F1 is pressed and there are more than one occurence for the same keyword on help:
http://www.freebasic.net/forum/viewtopi ... 957#147957
- I signaled a remaining fault in the search function:
http://www.freebasic.net/forum/viewtopi ... 065#148065
- VonGodric explained how update the keywords of the 4 groups, plus a precise detail from me:
http://www.freebasic.net/forum/viewtopi ... 655#149655
http://www.freebasic.net/forum/viewtopi ... 656#149656
- Mysoft published a quickfix to process the bug that make it hang when F1 is pressed and there are more than one occurence for the same keyword on help:
http://www.freebasic.net/forum/viewtopi ... 957#147957
- I signaled a remaining fault in the search function:
http://www.freebasic.net/forum/viewtopi ... 065#148065
- VonGodric explained how update the keywords of the 4 groups, plus a precise detail from me:
http://www.freebasic.net/forum/viewtopi ... 655#149655
http://www.freebasic.net/forum/viewtopi ... 656#149656
Last edited by fxm on Apr 28, 2011 7:18, edited 1 time in total.
-
- Posts: 9
- Joined: Mar 08, 2011 20:40
-
- Site Admin
- Posts: 6323
- Joined: Jul 05, 2005 17:32
- Location: Manchester, Lancs
An additional bug that might catch people out: environment variables can corrupt the compiler settings.
For example, if you have the %fbc% environment variable set when you run FBIde 0.4.7, it corrupts the compile command, so "<$fbc>" becomes e.g. "<c:\freebasic\fbc.exe>". This can be fixed every time the program is run by readjusting the line, or bypassed by removing the environment variable before FBIde is run.
In my case, I just switched from using %fbc% to using %fb% instead.
For example, if you have the %fbc% environment variable set when you run FBIde 0.4.7, it corrupts the compile command, so "<$fbc>" becomes e.g. "<c:\freebasic\fbc.exe>". This can be fixed every time the program is run by readjusting the line, or bypassed by removing the environment variable before FBIde is run.
In my case, I just switched from using %fbc% to using %fb% instead.
Please simply download the latest release: http://fbide.freebasic.net/index.php?menuID=56
After any compilation (even with an empty file, using: menu 'File / New', then menu 'Run / Quick run'):Triopstor wrote:How can I check to see which version of Free Basic am I using currently with FBIde?
Menu 'View / Show log':
....
System:
FBIde: 0.4.6
fbc: FreeBASIC Compiler - Version 0.22.0 (04-30-2011) for win32 (target:win32)
OS: Windows XP (build 2600, Service Pack 2)
(for example)
Or compile and runTriopstor wrote:How can I check to see which version of Free Basic am I using currently with FBIde?
Code: Select all
? __FB_SIGNATURE__
SLEEP