× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On 3/27/2015 12:55 AM, x y wrote:
The Outline feature in RDi 9.1 and V7R1 appears to miss tags (GOTO/TAG) and
literals. When working with old code, it would be nice to have those items
cross-referenced.

I tend to be a boots and suspenders sort and it turns out not to be so
difficult to use regular expression search to find the GOTO/TAG/ENDSR
I'll paste the command line version (press Escape to toggle to the
command line and back) although you can use the Ctrl-F window.

findtext regularExpression "loop *tag"
findtext regularExpression "goto *loop"

That's not really a substitute for seeing them in the outline view, but
if you know what you're looking for...

Another way to see these is to select it, then context click, then
Selected > Filter Selection. The command line version of that is

action filterSelection

Ctrl-F5 to revert to seeing all the code, or click the little + to
expand just the bit you want. Again, not really the same as seeing it
in the Outline View, but it's what I often use to get a long view of the
code with what's available to me right now.

With respect to literals, I never thought to see literals in the Outline
View - they aren't on the listing produced by the compiler, so I'm not
accustomed to looking at them this way. An interesting request,
especially when it comes to refactoring old code: I like to turn these
into constants, which DO appear in the Outline View.

My company firewall is having issues today, so I can't check for myself,
but see if there's an RFE for either TAG or for literals.
https://www.ibm.com/developerworks/rfe/?BRAND_ID=1 I'd definitely vote
for seeing literals in the Outline View.


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.