|
> From: Bob cozzi > > Okay, that's fine, but isn't it then more work to go back and change all > the proc names in both the procedure interface and the prototype... Two names - one in the prototype, and one in the procedure. And since my prototype is in a separate module, the wizard doesn't do much good, since I have to cut and paste it anyway, no? > I suppose > I'm advocating reasons to justify using Prototypes and a Wizard to > generate > them over cut/paste. Both are good, and at least you're using them! The wizards in the RPG editor are okay, but I'd probably need more to use them regularly. For me, the wizard should handle the following: 1. Prototype in a different source member 2. Editing a current definition 3. Cloning an existing definition Maybe the RPG editor folks could take a few cues from the CSS editor. That thing kicks serious butt. For example, you should be able to right-click anywhere in the procedure definition (from the procedure begin through the PI to the last parameter) and a popup menu should allow the "Properties" option. This would bring up the wizard, pre-filled with the current values. When you go to save, it should scan the source for the prototype; if it doesn't exist, it should prompt you for the name of the source member containing the prototype. Once it locates the prototype, it should fix it. (This right-click should also work in the Outline view.) There should also then be "Save As" functionality, which will create a new procedure with a different name. Again, you should be prompted for the location of the new prototype. Joe
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.