[Oorexx-devel] Discuss: Embedding data into an ooRexx program.

2014-06-14 Thread Rick McGuire
This is something I've been thinking about for some time, and we even have a couple of RFEs open for something like this (though in fairness, I opened one of these). On occasion, I find I'd like to write a program that needs some associated data. Coding the data as a series of assignment

Re: [Oorexx-devel] Discuss: Embedding data into an ooRexx program.

2014-06-14 Thread Moritz Hoffmann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, I think this is a good idea, but I'm not convinced adding another directive is the right way to go. Directives do not integrate well with the flow of programs as they are static in a way. Adding those data directives could be imagined as having

Re: [Oorexx-devel] Discuss: Embedding data into an ooRexx program.

2014-06-14 Thread Gil Barmwater
I, too, have seen a need for something like this for quite a while. And I've written some functions using sourceline to accomplish it but they preclude the use of REXXC as you've noted. So I'd like to see an official solution get agreed on and implemented. I would like to distinguish,

Re: [Oorexx-devel] Discuss: Embedding data into an ooRexx program.

2014-06-14 Thread Mark Miesfeld
This sounds pretty good. I confess it is not something that I have desired, but I can think of uses for it if it was available. -- Mark Miesfeld On Sat, Jun 14, 2014 at 6:42 AM, Rick McGuire object.r...@gmail.com wrote: This is something I've been thinking about for some time, and we even

Re: [Oorexx-devel] Discuss: Embedding data into an ooRexx program.

2014-06-14 Thread Rick McGuire
I do for see a use for multi-literals, but I don't really see them as being a good usage for the type of problem I'm trying to solve here. The directive approach is really intended for situations where I really wish to embed a file within a single source program rather than having it elsewhere.

Re: [Oorexx-devel] Discuss: Embedding data into an ooRexx program.

2014-06-14 Thread Mike Cowlishaw
This is something I've been thinking about for some time, and we even have a couple of RFEs open for something like this (though in fairness, I opened one of these). On occasion, I find I'd like to write a program that needs some associated data. Coding the data as a series of assignment

Re: [Oorexx-devel] Discuss: Embedding data into an ooRexx program.

2014-06-14 Thread Rick McGuire
This is similar to MIME encoding, but ooRexx already has the directive concept that breaks the code into units. That is the link into the address space/naming mechanism. I have toyed with also adding Mime sort of typing mechanisms to this, but I think I'd prefer to keep this simple right now,

Re: [Oorexx-devel] Discuss: Embedding data into an ooRexx program.

2014-06-14 Thread Rick McGuire
On Sat, Jun 14, 2014 at 1:26 PM, Mike Cowlishaw m...@speleotrove.com wrote: This is similar to MIME encoding, but ooRexx already has the directive concept that breaks the code into units. That is the link into the address space/naming mechanism. I have toyed with also adding Mime sort of