It would be trivial to create such a method, but the evaluation would not take place in the context of the owning class, and more importantly, the returned value would not longer be guaranteed to be a constant. Consider a constant like
::constant loadTime (.datetime~new) attached to a class, it would always return the same value. Unattached, it would return something different each time. Rick On Tue, Dec 18, 2018 at 12:15 PM Erich Steinböck <erich.steinbo...@gmail.com> wrote: > unattached dynamic constants will be an error >> > As an alternative we could evaluate floating dynamic constants each time > they are used (effectively making them normal floating methods). > _______________________________________________ > Oorexx-devel mailing list > Oorexx-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/oorexx-devel >
_______________________________________________ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel