Thank you both! I looked all over the programming guide for options, but didn't find anything. I never thought of using REXXC. Thank you Rony for the perfect example. This is fantastic! Please close this request. Sincere Thanks, Mark
Add option to only syntax a OOREXX program without execution
Only evaluate appropriate part of ~? (inline if) method
I mixed two examples, sorry: "MyWorkFile" should just be "WorkFile" above.
SysFileSearch does not set return code to 0 when successful.
I found another issue with 11844 SysFileSearch. A successful execution is not setting a numeric return code of zero ("0") but is returning an empty string instead. Address "CMD" "DIR /B" MyDirectory ">" MyWorkFile "2>&1" Rc = SysFileSearch(".rex", MyWorkFile, "List.") Say "Rc={"Rc"}" The above program displays "{}" since Rc contains an empty string. The stem List. contains the proper values including List.0 having the correct number of items. Let me know if you prefer another bug report instead of...
This (bug 1610) appears to be fixed in 11844 and has passed all of my limited testing thus far. While I will test further, I believe this bug has been squashed. Thank you Rick McGuire, Erich, Per Olov Jonsson, and Rony G. Flatscher for all of your assistance and awesome work on OOREXX! Sincerely, Mark
Thank you Rick and Erich! Build 11844 gets past the previous crash and appears to produce proper results from my limited testing this morning. I will perform further testing and let you know if anything else untoward occurs, but it looks very good! Sincere Gratitude, Mark P.S. Rick, have a great trip!