[Implemented] Add 'CONSTANTLIST' to Compiler interface.

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
skywalk
Addict
Addict
Posts: 4210
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

[Implemented] Add 'CONSTANTLIST' to Compiler interface.

Post by skywalk »

Since we can already access all available Structures, Interfaces, and Procedures using the compiler interface commands:
WriteProgramStringN(compiler, "STRUCTURELIST")
WriteProgramStringN(compiler, "INTERFACELIST")
WriteProgramStringN(compiler, "FUNCTIONLIST")

Please add the ability to retrieve the Constants AND their values.
WriteProgramStringN(compiler, "CONSTANTLIST")
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum