× 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.



Moved from RPG400-L to WDSCi-L

On rpg400-l, Adam Glauser wrote on 12/12/2006 10:41:04 AM:

On rpg400-l, Joe Pluta wrote on 12/12/2006 10:26:09 AM:

Then again, with the Outline mode in WDSC, you just expand the 
variable 
and you can see EVERY line where the variable
 is used, including an indication of whether it is modified. 

Which helps a lot, 'myGlobal is used on line 230' is not exactly what 
I'm 
after in this case ... I need 'myGlobal is used in mySub'.  Going to 
each 
line on which the variable is modified, then doing a 'find previous 
BEGSR', is okay, but still not my idea of a good time in a crufty old 
3000 
line program.

This got me thinking - I know that if I check the 'restrict to columns' 
box in the Find/Replace dialogue it affects the Filter Selection (try it 
with 'D' in column 6 ... you'll find you get only D-specs, not all lines 
that contain a 'd' or 'D').  However, I don't see a way to filter based on 
the find string.  What I'd like to do is put the regular expression 
"(variable | BEGSR | ENDSR)" (quotes not part of expression), then be able 
to filter on that expression so that I get something like:

D  variable
         variable = value
C  mySR        BEGSR
         variable = value2
C mySR2      BEGSR
         clear variable

and so on.  Makes it easy to see which subroutines modify a global 
variable.

Does anyone have a way of doing this?  Do you like the idea?

#####################################################################################
Attention:
The above message and/or attachment(s) is private and confidential and is 
intended 
only for the people for which it is addressed. If you are not named in the 
address 
fields, ignore the contents and delete all the material. Thank you. Have a nice 
day.

For more information on email virus scanning, security and content
management, please contact administrator@xxxxxxxxxxxx
#####################################################################################

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.