Date: Wed, 16 Jan 2008 14:01:28 -0500
Reply-To: Gene Maguin <emaguin@buffalo.edu>
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: Gene Maguin <emaguin@buffalo.edu>
Subject: Re: Restructuring Data
In-Reply-To: <918918346@web.de>
Content-Type: text/plain; charset="us-ascii"
Michael,
Exactly, what is 'text1' 'text2' etc? For instance, does 'text1' equal
'abcde1', 'text2' equal 'abcde2', ... 'text21' equals 'abcde21', etc OR does
'text1' equal 'a1si6d', 'text2' equal 'xYw290', etc? If the answer is the
second description, then working this problem is going to be relatively to
very hard. If, however, the answer is the first description, then working
the problem is much, much easier because the value of the variable Varstr
consists of a constant stem, the 'abcde' part plus a number which can be
used to refer to the sequential position of the variable value. That is,
Varstr='abcde34' indicates that the 34th element in the vector abcde has a
value of 1. This is equivalent to saying that the variable abcde34 has a
value of 1.
So, which is it? Or, is the another possibility?
Gene Maguin
=====================
To manage your subscription to SPSSX-L, send a message to
LISTSERV@LISTSERV.UGA.EDU (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
|