HP3000-L Archives

January 2001, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"VANCE,JEFF (HP-Cupertino,ex1)" <[log in to unmask]>
Reply To:
VANCE,JEFF (HP-Cupertino,ex1)
Date:
Fri, 19 Jan 2001 11:28:00 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (24 lines)
...
> In the online help example for ANYPARM I found exactly what I
> was looking for.
>     ANYPARM p1
>     setvar _infostr anyparm(!p1)
>     run prog; info="![quote(_infostr)]"
...

The above example can be done with REPL as:
   ANYPARM p1
   setvar _infostr anyparm(!p1)
   run tdp.pub.sys; info="![repl(_infostr,'"','"")]"

Ex (assume script names is 'burp'):
   :burp :echo "hi there 'Fred'!" How are you?
TDP/V(A.05.07) HP36578 Editor(c) COPYRIGHT Hewlett-Packard Co. 1999
          FRI, JAN 19, 2001, 10:27 AM  (DAY #19 )
"Hi there 'Fred'!". How are you?
/


HTH,
 Jeff Vance, CSY

ATOM RSS1 RSS2