Module Global Subs and Functions and Module Vars Using Second Method of Manage Reusable Procedures

General FreeBASIC programming questions.
Post Reply
gplcoder
Posts: 1
Joined: May 10, 2024 17:39
Location: Southwestern Ontario Canada
Contact:

Module Global Subs and Functions and Module Vars Using Second Method of Manage Reusable Procedures

Post by gplcoder »

Hi All,

I am currently porting a large amount of C API's and apps to FreeBASIC and have decided to organize the code as one large file to be compiled by utilizing the second method of 'Manage[ing] Reusable Procedures by Including Source vs Compiled Modules' (https://www.freebasic.net/wiki/ProPgSou ... iledModule). I am trying to implement private subs and functions as well as private var (by private, I mean local to the module code only).

Is there a way of implementing these items with a module only scope when everything is in one file (in memory) during compilation?

TIA
Post Reply