Here is a PsPad syntax file for FB. Put this in the syntax folder of the PsPad installation.
To set up for FB:
1. Select Settings->Highlighter settings from the main menu.
2. Select one of the Not Assigned entries.
3. Change the colors if you want.
4. Select the Specification tab.
4.1 Filter Name: Will be set when you select highlighter
4.2 Help File: Select chm file if you have it.
4.3 File Masks: *.bas, *.bi (and any others you want).
4.4 User Highlighters: Select FreeBasic from list.
5. Select the external applications tab.
5.1 Select an external app if you like. I have my Ascii Table prog selected here.
6. Select compiler tab.
6.1 Compiler: select fbc.exe file from your FB installation.
6.2 Parameters: Basic parm is %File%. You can then add any other parms as needed, such as -s gui -exx, etc. My basic parm list is: %File% -exx when building a prog and then %File% when creating a distro.
6.3 I also check Capture Program Output Window so I can see the compiler messages.
7. Click on OK and restart the program to load the syntax file.
I think I have all the current commands in he syntax file, but I may have missed any of the recent ones added to the CVS. You can add new items to the syntax file by selecting Settings->User Highlighter and load the FreeBasic.ini file. You can then add new keywords to the list and change the settings and then hit Save to update the file.