[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
Wed Jun 5 01:31:43 EDT 2019


On 6/4/2019 8:40 PM, abrsvc wrote:
> It has been a while since I did Basic coding, but most parameters are passed by descriptor right?  Parameter 2 for LIB$CONVERT_DATE_STRING requires passing by reference as does parameter 3.  This might be the problem.
>
> Similarly both parameters to LIB$DAPY_OF_WEEK require passing by reference.
>
> I'd start there.
>

The default passing mechanism is by ref for numbers, and by desc for 
strings.

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