Share your code with modules - PureBasic 101

Опубликовано: 13 Июнь 2026
на канале: Pure Programming
1,978
68

Learn the fundamentals of PureBasic. In this PureBasic 101 series, I cover the language, the IDE, the tools and some programming tips and techniques.

In this episode, I explain how to share code with the use of modules. Modules are a way of isolating code. It is very similar to namespaces in other languages. I show how to get from a simple program to creating and using part of it as a module. I also explain how to put a code sample in your code without messing up the calling code.

PureBasic Forums
https://www.purebasic.fr/english/

GitHub:
https://github.com

Code Project
https://www.codeproject.com/

The file for this episode is available at
https://bit.ly/3ecqsSp

Pure Programming blog
https://pure-programming.com

Facebook
  / pureprogramming  

Follow me on Instagram at @pure.programming

Download PureBasic
http://www.purebasic.com/pp

Support the channel with some Merchandising
EU : https://shop.spreadshirt.net/pure-pro...
US : https://shop.spreadshirt.com/pure-pro...

Facebook and Instagram icons made by Freepik from https://www.flaticon.com