-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|227|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
SoCoder -> Article Home -> Coding Basics


 
forest_gump
Created : 08 July 2025
Edited : 08 July 2025

FreeBASIC Notepad++ setup



hi In this Article, I'll show you how to set up FreeBASIC and use Notepad++ to compile and run it

First, go to freebasic.net and download the FreeBASIC compiler (usually it is both 32-bit and 64-bit, like fbc32.exe and fbc64.exe). Download the whole zip folder for Windows and unzip it in a say c:\fb_programming folder (make one if you haven't)

Second, now download and install Notepad++ (latest version), open the plugin manager, and install the plugin "nppexec"

Now, press in Notepad++ F6 and save this script for nppexec as "compile and run FreeBASIC 32-bit"

nppexec script:


Now let's test the new setup

Open Notepad++ and save as a "test.bas" file the following code

test.bas


Now press F6 and select the FreeBASIC compile and run you saved, and click ok on the window that pops up...

If the setup is working correctly, you'll see a screen opening and "hello world!" printed on it - press Enter or any key to end the program
That's all for now...

 

Comments


Tuesday, 08 July 2025, 15:35
realtime
Is there any vscode extension?
Tuesday, 08 July 2025, 17:10
forest_gump
Yes, there are one or two extensions for VS Code too, adding FreeBASIC syntax highlighting when I code in FreeBASIC in VS Code, I also use the F5 Anything extension for compiling and running the code in a command prompt command