Page 1 of 1

Adding default nameless namespace for mainscope

Posted: Mon Jul 01, 2013 11:34 am
by ts-soft
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

Re: Adding default nameless namespace for mainscope

Posted: Mon Jul 01, 2013 11:37 am
by luis
I would like that too, practical case where I'm missing this: http://www.purebasic.fr/english/viewtop ... 99#p416699

Re: Adding default nameless namespace for mainscope

Posted: Mon Jul 01, 2013 1:17 pm
by Little John
+1

Re: Adding default nameless namespace for mainscope

Posted: Mon Jul 01, 2013 1:23 pm
by User_Russian