Date: Wed, 18 May 2011 16:01:33 -0400
Reply-To: Gene Maguin <emaguin@buffalo.edu>
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: Gene Maguin <emaguin@buffalo.edu>
Subject: Re: Adding values to existing variable!HELP!!!
In-Reply-To: <1305747722349-4407533.post@n5.nabble.com>
Content-Type: text/plain; charset="US-ASCII"
Theo,
Bruce sent you the following syntax segment.
do if A=1. /* higher degree .
- compute AB = B. /* which higher degree (1-5).
else.
- compute AB = A+4. /* (2 -> 6, 3 -> 7, etc).
end if.
You modified it to read.
do if hiqual8=1. /* higher degree .
- compute Qual3 = higho. /* which higher degree (1-5).
else.
- compute Qual3 = A+4. /* (2 -> 6, 3 -> 7, etc).
end if.''
I think you failed to make all variable substitutions. Specifically here:
- compute Qual3 = A+4. /* (2 -> 6, 3 -> 7, etc).
Should be, I'll bet
- compute Qual3 = hiqual8+4. /* (2 -> 6, 3 -> 7, etc).
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
|