|
May I ask why you do this? What could your pre-compiler do that isn't already provided? I am not questioning what you are doing at all, it is just that I don't understand what features this provides that aren't already provided. For instance numeric editing is already well handled by DDS, and error strings with data values are simple with the EVAL Opcode. How would one implement the DIVI Opcode in RPGLE code? Where is a place that one would use MLINE? Please understand: I am being curious, not argumentative. _______________________ Booth Martin Booth@MartinVT.com http://www.MartinVT.com _______________________ Torbjörn Görtz <torbjorn.gortz@swipnet.se> Sent by: owner-rpg400-l@midrange.com 06/19/2000 07:48 PM Please respond to RPG400-L To: <RPG400-L@midrange.com> cc: Subject: Re: Did the user press Enter or Field+ Booth Martin wrote: > A question for you: Are you using Y as the field on the DDS or are you > using S? Y gives a much better behaved application. Well ... I make my programs in a homebuild precompiler for RPG400. Numeric fields come as alphanumeric input and are automatically converted to numeric with correct decimal position. I have a lot of help in building new programs with the precompiler. For example, automatic position the cursor on the field which course the error. A macro-function which make many common tasks very simple. Like: Numeric editing Date check and aritmetric Compute check-digit and so on A number of simplified commands, like: ONCE ... END IFCHANGE ... END DIVI (ignore div by zero, result in that case is zero) MLINE (move whole next line to a field) Simplified inline error message with field-data and so on I hope to some day get time to rebuild the precompiler for RPG IV. And I am waiting for the free format calculation commands in next version of RPG. Torbjörn Görtz Sweden +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +--- +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-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.