Date: Fri, 14 Jul 2000 08:33:53 -0700
Reply-To: Gwen Hyatt <gwen_hyatt@RMCCORP.COM>
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: Gwen Hyatt <gwen_hyatt@RMCCORP.COM>
Subject: Re: Insert Text into Viewer File
Content-Type: text/plain; charset="iso-8859-1"
Christian,
My understanding from SPSS tech support is that the single 255 character
string parameter is all that can be sent to the script. I have worked around
this in a couple of ways, both a bit awkward but workable.
1. Hard-code the text into the script rather than pulling it in from the
syntax file, i.e. modify the script so that the parameter you send in is an
identifier ("TEXT1") telling you what text is needed, then use an IF or
SELECT CASE block to select the correct text.
2. Call the script several times, sending in only a sentence or two at a
time.
I hope this helps.
Gwen
___________________________________
Gwen Hyatt, Research Associate
RMC Research Corporation
522 SW Fifth Avenue, Suite 1407
Portland, OR 97204
(503) 223-8248 / (800) 788-1887
gwen_hyatt@rmccorp.com
-----Original Message-----
From: Christian Schmidhauser [mailto:cschmidhauser@BLUEWIN.CH]
Sent: Thursday, July 13, 2000 2:56 AM
Subject: Insert Text into Viewer File
Hi all,
I use the SCRIPT command
SCRIPT 'filename'[(quoted string)]
to insert text into my viewer file. Since the quoted string can have a
maximum length of 255, and I sometimes want to insert strings longer than
that, I was wondering whether there is a possibility to use more than one
string with that command, or whether there are other solutions to insert
longer texts into the viewer file. I use SPSS V9.0.
Thanks in advance,
Christian
********************************************
Christian Schmidhauser
e-mail: cschmidhauser@bluewin.ch
Tel +41-1-286 20 30
Fax +41-1-286 20 31