QB64 Phoenix Edition
Open .bas files only - Printable Version

+- QB64 Phoenix Edition (https://staging.qb64phoenix.com)
+-- Forum: Chatting and Socializing (https://staging.qb64phoenix.com/forumdisplay.php?fid=11)
+--- Forum: Site Suggestions (https://staging.qb64phoenix.com/forumdisplay.php?fid=12)
+--- Thread: Open .bas files only (/showthread.php?tid=1137)



Open .bas files only - PhilOfPerth - 11-17-2022

When opening a file for editing, the "Open file" option shows all files in the directory. Can this be filtered to show only the editable ones (".bas")?  Idea


RE: Open .bas files only - SMcNeill - 11-17-2022

Download the newest version. The new open dialog defaults to *.BAS, *.BI, *.BM files.


RE: Open .bas files only - visionmercer - 11-17-2022

could InForm *.frm be added too?


RE: Open .bas files only - PhilOfPerth - 11-17-2022

(11-17-2022, 09:23 AM)SMcNeill Wrote: Download the newest version.  The new open dialog defaults to *.BAS, *.BI, *.BM files.
Great. Dunno what the .bi and .bm files do (I guess .bi is binary), but I can live with that.


RE: Open .bas files only - BSpinoza - 11-17-2022

(11-17-2022, 11:46 AM)PhilOfPerth Wrote:
(11-17-2022, 09:23 AM)SMcNeill Wrote: Download the newest version.  The new open dialog defaults to *.BAS, *.BI, *.BM files.
Great. Dunno what the .bi and .bm files do (I guess .bi is binary), but I can live with that.

.bi and .bm are library-files,
see: 
https://qb64phoenix.com/qb64wiki/index.php/Libraries


RE: Open .bas files only - Jack - 11-17-2022

@PhilOfPerth
simply put, .bi and .bm are basic include files
but since QB64 doesn't allow function/sub code before your main executable code but only declarations, you have the .bi that is included before your main code, the .bi only contains declarations
then you have the .bm file containing the functions/subs, so your program may look like this

'$include: 'some.bi'
your main code
'$include: 'some.bm'