Actually, probably the best way is by using functions: Revise and const values changed during a session? - #3 by sapo
sapo
8
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Implementing Singleton design pattern | 8 | 2748 | May 25, 2021 | |
| Efficiently passing a set of constants to a function | 21 | 2708 | July 8, 2022 | |
| Passing constant configuration values to modules | 7 | 1842 | January 28, 2021 | |
| Does Julia Need a C++ style `static` keyword? | 21 | 4377 | September 27, 2019 | |
| Static structs with constant field | 6 | 1770 | August 19, 2024 |