Well, it was sunny yesterday Colin.  But today, looks more like Cloudy LA!

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Alfke, Colin
Sent: Friday, October 15, 2004 17:05
To: [EMAIL PROTECTED]
Subject: RE: [U2] [UD] running a subroutine


Coming from D3 I have a subroutine that lets me input the routine and
any arguments so I haven't actually tried it. I do know that you can run
a subroutine directly (unlike D3). 

You could try updating the subroutine to check the variables (if
not(assigned(arg1)) and do a tclread....

Colin
Currently in Sunny LA - soon to head to Albuquerque!?!

-----Original Message-----
From: Shawn Waldie [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 15, 2004 3: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 *
-------
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/

Reply via email to