Mirage Source
FreeBASIC - Printable Version

+- Mirage Source (https://mirage-engine.uk/forums)
+-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61)
+--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18)
+---- Forum: Programming (https://mirage-engine.uk/forums/forumdisplay.php?fid=24)
+----- Forum: General (https://mirage-engine.uk/forums/forumdisplay.php?fid=27)
+----- Thread: FreeBASIC (/showthread.php?tid=2751)



FreeBASIC - katcode - 16-04-2009

Code:
'Commenting
Rem Is
/' AWESOME! '/

Dim your_mom As String * 1

Print "Do you like Britney Spears? (Y or N)"
Input your_mom

If your_mom = "y" Then
    Print "LIAR"
ElseIf your_mom = "n" Then
    Print "HAMSTER TIEM"
Else
    Print "F*** You"
EndIf

Sleep

FreeBASIC is awesome Big Grin


Re: FreeBASIC - Kenko - 17-04-2009

Awesome? It looks like every other BASIC syntax. Big Grin


Re: FreeBASIC - Doomy - 17-04-2009

you spelled HAMSTER TIME wrong


Re: FreeBASIC - Nean - 17-04-2009

Is FreeBASIC good for anything? Big Grin


Re: FreeBASIC - GIAKEN - 17-04-2009

Suggested topic title changed: How to write shitty FreeBASIC code!

Tongue


Re: FreeBASIC - katcode - 17-04-2009

Nean Wrote:Is FreeBASIC good for anything? Big Grin

And yes, since it's Based on QBasic and so is VB6 it's Near compatible, so porting is easy.
It's Fast, Compiles natively and runs on Windows, DOS and Linux(x86)
Plus you can use ANY C/C++ Library by Translating the header files.

FreeBASIC comes with FMOD, OpenGL and SDL Support right out of the installer. (plus like 80 or so librarys)
and also has Support for Irrlicht and stuff.

Nearly 100% compatible with QBasic if i might add.
And has OOP support. (Yet since i'm not such a good coder (or barely a coder) i have no idea how Object Oriented Programming is diffrent from regular.. or Procedural whatever.)

It's on Par with RealBASIC or PowerBASIC, i remember reading about it but i cant be arsed.

And on the Plusser side, It's BASIC. How can you go wrong? ;D


Re: FreeBASIC - Coke - 17-04-2009

What could possibly go wrong?

Well, it could be a slow high level procedural programming language. Oh, it is ._.


Re: FreeBASIC - Tony - 17-04-2009

katcode, your so negative :lol:

Never even heard of FreeBasic to be honest.


Re: FreeBASIC - katcode - 18-04-2009

Tony Wrote:katcode, your so negative :lol:

Never even heard of FreeBasic to be honest.

I cant, I have a -13 Power hat of Dignify rays of Terra51.
Plus that -3 Leather boots i wear arent helping Big Grin