« Tipp of the day: Down… | Home | Host a REAL Studio We… »

Build Time Constants

12 12 10 - 00:22 Years ago I asked for constants like __TIME__ and __DATE__ in C/C++. You can see my feedback case here: Feedback Case 2143
Today I had an idea: I can write a plugin which provides those constants. Okay, not real time values, but at least the plugin can query on REAL Studio launch the current date and time and provide them as constants. As REAL Studio copies those constants into your application, they won't change. The plugin will also not update those constants as the plugin is not part of the application.
So next plugin prerelease will have a BuildConstantsMBS module with constants named time, date and datetime.
I thought about possibly other constants like the name of the user or the machine so you know who compiled the application. What do you think?
one comment

This will be a great functionality! Im thinking in the moment about UpdatePlans.
Thomas - 12 12 10 - 09:14


  
Remember personal info?

Emoticons / Textile

Comment moderation is enabled on this site. This means that your comment will not be visible on this site until it has been approved by an editor.



Notify:
Hide email:

Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.

Omegabundle 2014 for Xojo