In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED] writes
When I said 'hack' I meant the ugly code that I had to create to make
the trick work--the idea of having to put a dummy parameter into the
function call in the basic program in order to make it compatable with
the subr call in the i-type. Sorry for the confusion there.

I don't get that ...

As I say, I'm talking UV, but it's the SUBROUTINE that has the extra argument to make them compatible ...

Your example had both the subroutine and the function with the same number of arguments. IME, using the function version hides the first argument making it have one less.

So if you want to call a function from the SUBR() routine, I'd do

FUNCTION MYHACK( A, B)
code
RETURN

then call it with

SUBR( "*MYHACK", A, B) ;* Don't forget I'm using UV with that * :-)

Cheers,
Wol

--
Anthony W. Youngman <[EMAIL PROTECTED]>
'Yings, yow graley yin! Suz ae rikt dheu,' said the blue man, taking the
thimble. 'What *is* he?' said Magrat. 'They're gnomes,' said Nanny. The man
lowered the thimble. 'Pictsies!' Carpe Jugulum, Terry Pratchett 1998
Visit the MaVerick web-site - <http://www.maverick-dbms.org> Open Source Pick
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to