Universe certainly has it.

________________________________

From: [EMAIL PROTECTED] on behalf of Jefferson, Jim
Sent: Mon 18/10/2004 15:04
To: [EMAIL PROTECTED]
Subject: RE: [U2] [UD] running a subroutine



Shawn:

Does UD have the UNASSIGNED function?  I can't recall if even UV has it; I've
been stuck on an Arev site for a while.  Arev has it, and we do what you're
wanting to do a lot in the fashion of:

SUBROUTINE XYZ(ARG1, ARG2, ARG3)

IF (UNASSIGNED(ARG1)) THEN
  * Not called from another program
  * Get the arguments by parsing the command line
END

Hope this function is available.

Jim

 -----Original Message-----
From:   [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]  On Behalf Of Shawn Waldie
Sent:   Friday, October 15, 2004 5:59 PM
To:     [EMAIL PROTECTED]
Subject:        [U2] [UD] running a subroutine

Wondering if there is a way to execute a subroutine from the colon
prompt.

Let's say I have a subroutine that is defined as having 2 input args
like:

SUBROUTINE subr.name(arg1,arg2).


I would like to test it from the colon prompt without having to
hard-code the values of arg1/arg2...something like:

:RUN BP subr.name "value.of.arg1" "value.of.arg2"

Is something like this possible?  What I've tried so far hasn't worked.

************************************************
* Shawn Waldie                San Juan College *
* Programmer/Analyst         4601 College Blvd *
* Phone: (505)566-3072   Farmington, NM  87402 *
*      email: [EMAIL PROTECTED]       *
*                                              *
* HP-UX 11.11   UniData 6.0.4    Colleague R17 *
************************************************
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/




The information contained in this email is strictly confidential and for the
use of the addressee only, unless otherwise indicated.  If you are not the
intended recipient, please do not read, copy, use or disclose to others this
message or any attachment.  Please also notify the sender by replying to this
email or by telephone +44 (0)20 7896 0011 and then delete the email and any
copies of it.  Opinions, conclusions (etc.) that do not relate to the official
business of this company shall be understood as neither given nor endorsed by
it.  IG Markets Limited and IG Index Plc are authorised and regulated by the
Financial Services Authority and, in Australia, by the Australian Securities
and Investments Commission.

[demime 1.01d removed an attachment of type application/ms-tnef which had a name of 
winmail.dat]
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to