Date: Wed, 31 Aug 2005 14:01:47 -0400
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: Arlin Cuncic <firstname.lastname@example.org>
Subject: error message - vector
Content-Type: text/plain; charset=us-ascii
Would anyone have an idea what would typically cause the following error
message to appear?
>Warning # 525
>An attempt was made to store a value into an element of a vector the
>subscript of which was missing or otherwise invalid. The subscript must be
>a positive integer and must not be greater than the length of the vector.
>No store can occur.
The syntax that I am using is basically what I've pasted below, only it is
repeated for many different locations.
VECTOR thutmp1_ thutmp2_ thutmp3_ thutmp4_ thutmp5_(6).
DO REPEAT v1=thutmp1 thutmp2 thutmp3 thutmp4 thutmp5/v2=thutmp1_ thutmp2_
thutmp3_ thutmp4_ thutmp5_.
IF v1>0 v2(v1)=1.
DO REPEAT x=thutmp1_1 to thutmp5_6.
IF sysmis(x) x=0.
Arlin Cuncic, M.A.
Help Study - Dr. Graham Reid
University of Western Ontario
London, ON N6A 5C2
Phone: (519) 661-2111 ext. 81532
Fax: (519) 661-3340