|
Eric At 09:31 AM 5/6/1998 -0500, you wrote: > >To me it seems that the major problem with indicators is that their meaning is >not self documenting. This is fine if the use of lefthand indicators is local to >the subroutine or function. If the value of the indicator is global in scope, >you should assign the indicator value to a named variable. > >C CHAIN MSTFILE 50 >C eval EOF_MSTFIL = *in50 > I agree wholeheartedly. I've been in situations where the same set of indicators is used for all subfile control functions (SFLDSP = not SFLCLR, SFLDSPCTL, SFLEND, etc.). I would save the block of contiguous indicators in a suitably long variable when leaving the subfile via an option. Then other subfiles within the option can use their own set. And all that is needed is to restore (MOVEA) the previous set on redisplay coming out. Hope that made a little sense! :-) Vernon Hamberg Systems Software Programmer Old Republic National Title Insurance Company 400 Second Avenue South Minneapolis, MN 55401-2499 (612) 371-1111 x480 +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
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.