- Patrice Domange
- PowerBuilder
- Wednesday, 13 April 2022 01:10 PM UTC
Hello,
In the past days, I was using the fact that the compiler was resolving variables at compile time of the object.
So when I was declaring an instance variable like this :
string is_CompilationDate = String( today(), 'dd/mm/yyy' )
When making a full build of the application, the is_CompilationDate variable had is value set permanently to the date I last full build the application.
Now, it seems that from PB2017 until PB2021, the behaviour of the compiler as changed because everyday I start the application, the compilation date indicates the actual date, instead of real compilation date !
Quid ?
How can I achieve this now ?
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.