see here: http://www.purebasic.fr/english/viewtop ... 18#p416618
With this, we can use all constants, vars and so on, only with adding :: in front in modules and we
can, after UseModule, solve all nameconflicts by using :: bevor calling anything from mainscope.
Greetings - Thomas
Adding default nameless namespace for mainscope
Adding default nameless namespace for mainscope
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Re: Adding default nameless namespace for mainscope
I would like that too, practical case where I'm missing this: http://www.purebasic.fr/english/viewtop ... 99#p416699
"Have you tried turning it off and on again ?"
A little PureBasic review
A little PureBasic review
-
- Addict
- Posts: 4779
- Joined: Thu Jun 07, 2007 3:25 pm
- Location: Berlin, Germany
-
- Addict
- Posts: 1520
- Joined: Wed Nov 12, 2008 5:01 pm
- Location: Russia