[Info-vax] Error Messages in Basic - %BASIC-E-PARMODNOT, mode for parameter <n> of routine <procedure-name> not as declared

Robert A. Brooks FIRST.LAST at vmssoftware.com
Wed Jun 5 23:08:37 EDT 2019


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".

-- 
                  -- Rob



More information about the Info-vax mailing list