What about writing out a temp paragraph and executing that (build the
parameters into the temp PA)

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Boydell, Stuart
Sent: Wednesday, May 02, 2007 5:32 AM
To: [email protected]
Subject: [U2] [UV][UO.NET] Passing command line parameters through a
PROC

Has anyone had any success passing TCL parameters calling a PROC from
the UO.NET UniCommand?
We have a PROC which calls a Paragraph which calls a program and passes
the sentence stack down the line (yeah - there's a rewrite coming up).
Works from the TCL but not when invoked from a UniCommand.Execute.
Does anyone have a workaround?

>RUNPARAGRAPH SYS.PL MYPARAGRAPH PARAM1 PARAM2 ...

>CT VOC RUNPARAGRAH
PQN
(%2 %3)

>CT SYS.PL MYPARAGRAPH
PA
RUN BS MYPROG <<S4>> <<S5>> ...

...

Cheers,
Stuart Boydell



**********************************************************************
This email message and any files transmitted with it are confidential
and
intended solely for the use of addressed recipient(s). If you have
received
this communication in error, please reply to this e-mail to notify the
sender
of its incorrect delivery and then delete it and your reply.  It is your
responsibility to check this email and any attachments for viruses and
defects
before opening or sending them on. Spotless collects information about
you to
provide and market our services. For information about use, disclosure
and
access, see our privacy policy at http://www.spotless.com.au
Please consider our environment before printing this email.
**********************************************************************
-------
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