Title: | DEC BASIC Conference |
Notice: | SSB Kit Now available - Note 2.29 |
Moderator: | TLE::HAYNES |
Created: | Wed Sep 15 1993 |
Last Modified: | Thu Jun 05 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 210 |
Total number of notes: | 976 |
I am working on a porting project from VAX to Alpha and I am having a problem with the following basic call. LBR$GET_INDEX (LIBR_INDEX,1%,TFEDIR BY REF,) I am getting the the following error at run-time only. ARGDONMAT However on the VAX everything is hunky-dorey. I think the problem is with the third argument to this routine. ! LBR$GET_INDEX - Call routine for selected index keys ! ! status = LBR$GET_INDEX (library_index, index_number, routine_name ! [,match_desc]) ! ! library_index - Index value returned by LBR$INI_CONTROL ! index_number - Number of the index to search ! routine_name - User routine to process selections ! match_desc - Key matching string ! EXTERNAL LONG FUNCTION LBR$GET_INDEX & ( & LONG BY REF, & LONG BY REF, & LONG BY VALUE, & OPTIONAL STRING BY DESC & ) Any Pointers Thanks Mick.
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
209.1 | OVMS docs say BY REF | TLE::HAYNES | Thu May 15 1997 13:14 | 14 | |
Mick, > EXTERNAL LONG FUNCTION LBR$GET_INDEX & > ( & > LONG BY REF, & > LONG BY REF, & > LONG BY VALUE, & > OPTIONAL STRING BY DESC & > ) Referencing the Open VMS documentation for LBR$GET_INDEX, I find that indeed the third parameter is specified as LONG BY REF. Peter |