[Info-vax] Error Messages in Basic - %BASIC-E-PARMODNOT, mode for parameter <n> of routine <procedure-name> not as declared
Dave Froble
davef at tsoft-inc.com
Fri Jun 7 07:26:59 EDT 2019
On 6/5/2019 11:08 PM, Robert A. Brooks wrote:
> On 6/5/2019 10:35 PM, Stephen Hoffman wrote:
>> On 2019-06-05 14:27:57 +0000, Jeffrey H. Coffield said:
>>
>>> The following compiles and runs for me on both Alpha and Itanium. You
>>> must have something wrong in how you are declaring the function.
>>> ...
>>> external long function lib$convert_date_string
>>
>> Try it again with the system-provided declarations, rather than the
>> classic and old-school
>> add-an-external-and-who-cares-about-the-arguments approach.
>> You'll find the compiler will be recalcitrant.
>> Replacing these old-style declarations with the system declarations
>> might also find latent bugs in existing applications, particularly
>> around argument specifications and missing arguments.
>
> It's amazing how many people create their own item list and IOSB
> structures, instead of using the STARLET-provided ILEDEF and IOSBDEF.
>
> Over the course of rebuilding all the layered products, I've come across
> this
> repeatedly, so even within DEC/CPQ/HP folks "rolled their own".
>
Granted, but, I find my own names are easier for me to work with.
Usually much simpler than the provided definitions.
--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef at tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486
More information about the Info-vax
mailing list