|
How about building a program on the fly that contains the formulas, then calling the program. On Tue, 29 Jun 2004 08:34:38 -0500, "Charles Abbott" <cabbott@xxxxxxxxxxxxxxxxxx> said: > We are trying to mimic some old PL/1 code that uses formulas stored in a > file and are executed at run time. We are trying to figure out how we > can > execute the "value" of a formula field as an operation in RPG (assume > V5). > The formula will have valid field names from the program and normalized > operation codes. Something like "(width * length)/12" would be stored in > a > field in the file and executed at run time as part of the code. Any > ideas? > > Thanks, > > Charles Abbott > The Persimmon Group, Inc. > -- michaelr_41@xxxxxxxxxxxxxx
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.