On Thu, Apr 20, 2017 at 1:40 PM, truegold via 4D_Tech <4d_tech@lists.4d.com> wrote:
> Read method (the one I need to insert lines into) into a text array where > each element is a single line of code or comments or just white space. The > number of elements in the array would match the number of lines in the > method. > > Since I know the basic structure of the method I should be able to insert > into the array (appropriately) the lines I need, then loop through the > array and regenerate the method and set it back into a 4D method. > > Is that possible? > > Does it work in compiled databases (although this one runs live without > being compiled)? > It does not work in compiled db. In uncompiled db why not rewrite method and replace same, no need to go though just making the adjustments Regards Chuck -- ----------------------------------------------------------------------------------------- Chuck Miller Voice: (617) 739-0306 Fax: (617) 232-1064 Informed Solutions, Inc. Brookline, MA 02446 USA Registered 4D Developer Providers of 4D, Sybase & SQL Sever connectivity http://www.informed-solutions.com ----------------------------------------------------------------------------------------- This message and any attached documents contain information which may be confidential, subject to privilege or exempt from disclosure under applicable law. These materials are intended only for the use of the intended recipient. If you are not the intended recipient of this transmission, you are hereby notified that any distribution, disclosure, printing, copying, storage, modification or the taking of any action in reliance upon this transmission is strictly prohibited. Delivery of this message to any person other than the intended recipient shall not compromise or waive such confidentiality, privilege or exemption from disclosure as to this communication. ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************