David Ashley wrote: > On Wed, 2013-06-05 at 12:47 +0200, Rony G. Flatscher wrote: > >>Given the name "SysCArgs" already implies that this is not a [oo]Rexx >>language related piece of information, but one of the runtime >>environment that started the Rexx script. As the discussions on >><news:comp.lang.rexx> showcase, there are people (especially those >>with a Unix background, but now more and more realize the same >>possibilities to take advantage of under Windows as well) who would be >>helped, if all of the C argv was made available to them. The prefix >>"Sys" already indicates that this is something outside the Rexx >>language, but valuable for programmers. >> > > > I have mixed emotions about this proposal. As someone who codes in both > C/C++ and ooRexx almost on a daily basis, I too would like access to all > the C arguments but I do not want to change the Rexx language in any > significant way to implement this. > I completely agree that the Rexx language should not be changed to implement this.
> What I propose is a new class that is global in scope for the entire > ooRexx program, similar to the way that the .local class is global in > scope. It should define methods to obtain all the C arguments as well as > other information about the original parent process. Obviously there > might be methods that could be defined that would be useful in a Windows > environment and useless in other environments and vice versa. > > A global class would provide the least impact and the highest > availability of the information. It would also be the easiest to expand > should there be a need to do so. > An interesting approach but I think we already have a class that could be used for this that has the needed global scope: .environment. Why not add the new methods that provide the C arguments to .environment instead of creating a new class? > David Ashley > > > ------------------------------------------------------------------------------ > How ServiceNow helps IT people transform IT departments: > 1. A cloud service to automate IT design, transition and operations > 2. Dashboards that offer high-level views of enterprise services > 3. A single system of record for all IT processes > http://p.sf.net/sfu/servicenow-d2d-j > _______________________________________________ > Oorexx-devel mailing list > Oorexx-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/oorexx-devel > > > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 2013.0.3343 / Virus Database: 3184/6383 - Release Date: 06/04/13 > > -- Gil Barmwater ------------------------------------------------------------------------------ How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j _______________________________________________ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel