|
Have I written text-based programs for PC: yes. DDS is definitely
easier, there is no question. But AS/400 programming is more akin to
modern visual programming, because it uses form-based displays rather
than those built character-by-character.
If you look at (say) Visual Basic,* I can code a list display by
dropping a ListBox onto the form. Adding items to the list is done
using lstCustomers.AddItem. Positioning the list is equally simple:
lstCustomers.Item(n).EnsureVisible. And so on. Positioning the
cursor to a text field: txtUnitPrice.SetFocus. To protect a field:
txtUnitPrice.Enabled = False.
Compared to character-based screen coding, display files are a huge
improvement. But they still leave _way_ too much work to do.
____________
Paul Cunnane
The Learning Company
* Disclaimer: I'm not saying that VB is in any way comparable to RPG
in terms of quality, just pointing out the way things can be done,
when there is a will...!
______________________________ Reply Separator _________________________________
Subject: Re: "extract" command enhancement(subfiles and BIFs)
Author: "Scott Klement" <infosys@klements.com> at InterNet
Date: 22-09-99 10:12 am
Wow.
Okay, maybe I'm nuts (yes, I probably am nuts, and will probably get
a few replies telling me so) but I always thought display files were
a very easy and convienient way to do plain-text screens.
Have you ever tried to write programs with display-file-like
functionality on PCs? or for UNIX machines?
- snip -
+---
| 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-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.