View Single Post
hmmmmm
Great Tester of Whatever
Join Date: Mar 2017
Location: ...
Old 03-13-2018 , 05:24   Re: [Request] Global Static Constant Declaration
Reply With Quote #2

This isn't a snippet or a tutorial so you're asking in the wrong section.
Regardless, static when in global namespace means that it can't be used by other files that include that file although it seems pretty useless in that context. AFAIK its generally used for include files (.inc) so as not to pollute global namespace.

Also the const is pretty useless for global variables from what I understand, only usable in function params.
hmmmmm is offline