RE: [U2] [UV] help with function() please

2004-12-01 Thread Barry Brevik
>However, when you use DEFFUN what you are actually doing >is creating a variable name. This must conform to the rules >for naming variables, one of which is that it must begin with Excellent replies. Thanks to those who replied! I've got it working now. I've only been using UV for about 7 years

RE: [U2] [UV] help with function() please

2004-12-01 Thread Ray Wurlod
Functions in UV are implemented as subroutines. That is, the following are equivalent. FUNCTION MyName(Arg1,Arg2) * my code here RETURN(Result) SUBROUTINE MyName(Result,Arg1,Arg2) * my code here RETURN When you use CALL, you use the actual catalog name (whether it's in VOC or GLOBAL.CATDIR).

RE: [U2] [UV] help with function() please

2004-12-01 Thread Kevin King
Do you need to use the ! In the DEFFUN (and when you refer to the function) if it's globally catalogued? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Barry Brevik Sent: Wednesday, December 01, 2004 4:31 PM To: U2-users (E-mail) Subject: [U2] [UV] help

RE: [U2] [UV] help with function() please

2004-12-01 Thread gerry-u2ug
try using : deffun MYFUNC(A) calling "!MYFUNC" R = MYFUNC('HELLO WORLD') -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Barry Brevik Sent: Wednesday, December 01, 2004 06:31 PM To: U2-users (E-mail) Subject: [U2] [UV] help with function() please OK, I

RE: [U2] [UV] help with function() please

2004-12-01 Thread gerry-u2ug
try using : deffun MYFUNC(A) calling "!MYFUNC" R = MYFUNC('HELLO WORLD') -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Barry Brevik Sent: Wednesday, December 01, 2004 06:31 PM To: U2-users (E-mail) Subject: [U2] [UV] help with function() please OK, I