Thank you Stefan. I am so impressed that you've managed to come up with a workaround for the glaring omission in OE of named arguments for procedure files. In light of everyone's comments however I may not adopt this for the time being.... :)
Hi everyone who took the trouble to reply and thank you.
I will take your collective advice and steer clear of the preprocessor in future. (Well, TEMP-TABLE definitions in include files excepted, anyway...)
Best wishes,
Allan
Love this quote! But maybe the reason I wanted to use the preprocessor is that the psycopath is actually *ME"!!! (Don't worry, your combined replies have convinced me otherwise...)
(Actually I have always shared TEMP-TABLE schemas as include files though where I got this idea from has long...
Hi Stefan,
> They are number only, by the looks of things.
If only the OE documentation had actually said as much ...
I could make it all work with numbered arguments but I don't want to ever debug the consequences of introducing a new out-of-order argument in future... After the comments...
Thanks Tamhas... I've never before stooped to run-time arguments but on this occasion I wanted to avoid having to code (and support) three very similar modules when a couple of runtime arguments would have allowed me to reduce the coding to one. (Actually I have ended up wasting a lot more time...
Hi, indeed the code I submitted does not compile... but I could not see why not :)... It was written to demonstrate a problem with a rather larger module which I was testing as part of the development of our OE application, and contains just about the minimum code with which I could illustrate...
Hi everyone,
I've been playing with the ABL preprocessor...a scary place indeed. I suspect from the relative lack of discussion of it online that it isn't terribly widely used. I think I've mastered supplying arguments (both numbered and named) to include files, which is great. However I've...
Thanks Tamhas, excellent advice I am sure. However my full time job is to maintain a heritage system which was almost entirely written before OO ABL had really become established by a programmer who left shortly after it was implemented. The system is now theoretically end-of-life and will...
Thanks for your suggestions Tom and Thomas.
I'd not come into contact with "common components" before.... The modularity is certainly attractive! Still learning after all these years.... :-)
I'd predicted the "interleaved message" problem, but wondered if buffering would cause the...
Thank you Thomas for your comment. While I agree with you generally about keeping things in one place, in this instance I've used a stream to direct error messages to an error log file. Although in this instance my app is trivial, I'm nevertheless sending error messages to the log from several...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.