Re: [U2] Custom Functions

2005-06-25 Thread Anthony W. Youngman
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
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Connection Refused downloading PE

2005-06-25 Thread John Jenkins
I get something different (but still U/S) - I've reported it to the powers
that be.

Regards

JayJay

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Wendy Smoak
Sent: 24 June 2005 03:54
To: u2-users@listserver.u2ug.org
Subject: [U2] Connection Refused downloading PE

After answering all those questions, I finally made it to the place where I 
could download UD 6.1 PE and the download applet reports  
http://service2.boulder.ibm.com:7618 Connection Refused .

The 'clients' .zip file is downloading over HTTP with no problems, but it 
looks like it's coming from a different place.

I'll try again tomorrow, meanwhile I figured I'd at least mention it in the 
hopes that someone from IBM might be able to check on it. Thank you!

-- 
Wendy Smoak 
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Custom Functions

2005-06-25 Thread Ken Wallis
[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 compatible with
 the subr call in the i-type. Sorry for the confusion there.

Ed, UniData doesn't advertise FUNCTIONs as being compatible with SUBR().  I
don't see why it is any uglier to have to write a FUNCTION with two
arguments in order to be able to invoke it via SUBR passing only one
parameter than it is to code a SUBROUTINE that way.

Anthony W. Youngman wrote:

 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.

Wol, I will say this only once more.  Current releases of UniData *DO NOT*
implement FUNCTION as a SUBROUTINE with an extra, hidden argument.  UniVerse
does.

In UniVerse a FUNCTION declared with two parameters *IS* a SUBROUTINE with
three.  On UniData a FUNCTION declared with two parameters is exactly that -
a FUNCTION which expects two parameters.

Cheers,

Ken
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Custom Functions

2005-06-25 Thread Bill H
Ken:
 
Ditto!  :-)  One might add faster and more stable triggers and built-in
input timing.

Bill 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Ken Wallis
 Sent: Friday, June 24, 2005 6:04 PM
 To: u2-users@listserver.u2ug.org
 Subject: RE: [U2] Custom Functions

[snipped]

 Anyway, I really don't want to go near the 'why buy UD instead of UV'
 discussion...[snipped]... The only thing I will say before moving 
 quickly along is 'indexes'.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/