i dont have any plans to write one. but if its really important to you maybe
we can talk about a small contracting job
Thanks for the offer, but it's not so important really. I just find it frustrating, that's all
i dont have any plans to write one. but if its really important to you maybe
we can talk about a small contracting job
In that case, why doesn't this work:
Code:c = "hello". DEFINE VARIABLE c AS CHARACTER NO-UNDO.
At the point I'm trying to reference c, it hasn't been declared/defined. It obviously matters to the compiler where these definitions take place in the same block of code.
So if the compiler takes this into account, my earlier example (post #9) should work the way I want it to. Or at least, I should be able to find a way of knowing whether the variable has been defined at any given point.
Seems to me like yet another Progress inconsistency...
I have defined a GLOBAL-DEFINE variable in XXX.p.if the problem is duplicate var names in include files, it would need to be dealt with at compile time before the problem happens
Code:&if defined( globVar ) = 0 &then define var str as char no-undo. define var i as char no-undo. &glob globVar defined &endif /* defined */