Using FBIde? Please read this!

New to FreeBASIC? Post your questions here.
counting_pine
Site Admin
Posts: 6172
Joined: Jul 05, 2005 17:32
Location: Manchester, Lancs

Using FBIde? Please read this!

Postby counting_pine » May 14, 2009 8:19

[Edit: see also 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
Last edited by counting_pine on May 27, 2011 18:04, edited 5 times in total.
TESLACOIL
Posts: 1769
Joined: Jun 20, 2010 16:04
Location: UK
Contact:

Screen shot of FBide

Postby TESLACOIL » Jan 30, 2011 15:02

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
Last edited by TESLACOIL on Oct 01, 2011 21:00, edited 1 time in total.
fxm
Posts: 9177
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

Postby fxm » Feb 06, 2011 14:13

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
Last edited by fxm on Apr 28, 2011 7:18, edited 1 time in total.
Jack Jackson
Posts: 9
Joined: Mar 08, 2011 20:40

Postby Jack Jackson » Apr 04, 2011 16:43

How'd do you install both above, to avoid the Windows 7 'making changes to hard drive security check'???

I always need to say "yes allow this program" even when Administrator compatable, would be nice to launch without all that.

thanks in advance,
counting_pine
Site Admin
Posts: 6172
Joined: Jul 05, 2005 17:32
Location: Manchester, Lancs

Postby counting_pine » Apr 08, 2011 15:34

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.
VonGodric
Posts: 997
Joined: May 27, 2005 9:06
Location: London
Contact:

Postby VonGodric » May 26, 2011 17:15

Please simply download the latest release: http://fbide.freebasic.net/index.php?menuID=56
Triopstor
Posts: 61
Joined: Apr 25, 2006 13:11

Postby Triopstor » May 27, 2011 5:53

How can I check to see which version of Free Basic am I using currently with FBIde?
fxm
Posts: 9177
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

Postby fxm » May 27, 2011 6:08

Triopstor wrote:How can I check to see which version of Free Basic am I using currently with FBIde?

After any compilation (even with an empty file, using: menu 'File / New', then menu 'Run / Quick run'):
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)
TJF
Posts: 3481
Joined: Dec 06, 2009 22:27
Location: N47°, E15°
Contact:

Postby TJF » May 27, 2011 10:11

Triopstor wrote:How can I check to see which version of Free Basic am I using currently with FBIde?

Or compile and run

Code: Select all

? __FB_SIGNATURE__
SLEEP
Triopstor
Posts: 61
Joined: Apr 25, 2006 13:11

Postby Triopstor » Jun 09, 2011 0:15

I tested that and...

System:
FBIde: 0.4.6
fbc: FreeBASIC Compiler - Version 0.20.0 (08-10-2008) for win32 (target:win32)
OS: Windows XP (build 2600, Service Pack 3)


Version 0.20.0! Excellent!

Thank You!
Triopstor
Posts: 61
Joined: Apr 25, 2006 13:11

Postby Triopstor » Jun 09, 2011 0:19

Hello I also tested "? __FB_SIGNATURE__:Sleep"

The answer is "FreeBASIC v0.20.0b"

Works! Excellent!

NOTE: Added a "b" on the end.

Thank You!

Hm... I wonder what other __FB_ secrets there are...

Return to “Beginners”

Who is online

Users browsing this forum: No registered users and 2 guests