[Implemented] #PB_Compiler_Module

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
Hroudtwolf
Addict
Addict
Posts: 803
Joined: Sat Feb 12, 2005 3:35 am
Location: Germany(Hessen)
Contact:

[Implemented] #PB_Compiler_Module

Post by Hroudtwolf »

Hi,

My little feature request is a "#PB_Compiler_Module" constant.
Like #PB_Compiler_Procedure contains the name of the current procedure, #PB_Compiler_Module should contain the name of the current module.

Best regards
Wolf
User avatar
Shield
Addict
Addict
Posts: 1021
Joined: Fri Jan 21, 2011 8:25 am
Location: 'stralia!
Contact:

Re: #PB_Compiler_Module

Post by Shield »

Absolutely +1 :)

I was thinking about a constant #PB_Compiler_PublicProcedure to determine the visibility of a procedure.
Image
Blog: Why Does It Suck? (http://whydoesitsuck.com/)
"You can disagree with me as much as you want, but during this talk, by definition, anybody who disagrees is stupid and ugly."
- Linus Torvalds
User avatar
Shield
Addict
Addict
Posts: 1021
Joined: Fri Jan 21, 2011 8:25 am
Location: 'stralia!
Contact:

Re: #PB_Compiler_Module

Post by Shield »

Image
Blog: Why Does It Suck? (http://whydoesitsuck.com/)
"You can disagree with me as much as you want, but during this talk, by definition, anybody who disagrees is stupid and ugly."
- Linus Torvalds
Post Reply