I think this is a typically suboptimazing RFE. First, a constant have a constant value. If a programmer want to use a expression in a constant, it´s better to use the constant it in the code and calculate it there. Drop this RFE.
From: Rick McGuire <object.r...@gmail.com> Sent: den 18 december 2018 21:42 To: Open Object Rexx Developer Mailing List <oorexx-devel@lists.sourceforge.net> Subject: Re: [Oorexx-devel] One more feature 730 restriction. 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<mailto: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<mailto:Oorexx-devel@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/oorexx-devel<https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Foorexx-devel&data=02%7C01%7C%7C75640b03eab94c32eee208d665295c99%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636807625651151095&sdata=M4c457SSZWzVtsRNxC361cE%2BTnu5ckPYJ0r4H%2BOHJ3c%3D&reserved=0>
_______________________________________________ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel