|
Karen: Something we just thought of was: Now, how do you un-comment these lines when you want to start using the code again? ****************************************** Don Wereschuk ISD - Programmer/Analyst Simcoe Parts Service Inc. Phone: 705-435-7814 Ex: 302 Fax: 705-435-6746 mailto:dwereschuk@xxxxxxxxxxxxxxx ****************************************** -----Original Message----- From: Karen L Hodge [mailto:khodge@xxxxxxxxxxx] Sent: Tuesday, October 17, 2006 11:14 AM To: rpg400-l@xxxxxxxxxxxx Subject: Re: Commenting out blocks of code in FF There is a really easy way to do it in SEU: You can use the overlay function to overlay a line with another line. This is useful when one line contains a pattern of characters that you want to merge with characters on other lines. You use the overlay command in conjunction with the copy command. In the following example, the block form of the overlay command (OO) is used. This will cause the contents of line 1 to overlay the contents of lines 2 through 6. Please note that overlay characters are uppercase letter O, not the numeric digit 0 (zero). Also, in my example below, I entered a blank after the C and OO commands to make them more readable. *************** Beginning of data ************************** C 01.00 /* */ OO 2.00 111111111111111 0003.00 222222222222222 0004.00 333333333333333 0005.00 444444444444444 OO 6.00 555555555555555 ****************** End of data ***************************** The result below shows that lines 2 through 5 have been overlaid by the contents of line 1. *************** Beginning of data ************************** 0001.00 /* */ 0002.00 /* 111111111111111 */ 0003.00 /* 222222222222222 */ 0004.00 /* 333333333333333 */ 0005.00 /* 444444444444444 */ 0006.00 /* 555555555555555 */ ****************** End of data ***************************** Thank you, Karen Hodge Senior System Analyst Genesys Health System 1000 Healthpark Blvd, Grand Blanc, Mi 48439 Office 810.606.5180, Fax 810.606.7204 khodge@xxxxxxxxxxx
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.