LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (August 2005)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 31 Aug 2005 14:01:47 -0400
Sender:       "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:         Arlin Cuncic <>
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.

Data Analyst

Help Study - Dr. Graham Reid

University of Western Ontario

SSC 6239

London, ON N6A 5C2

Phone: (519) 661-2111 ext. 81532

Fax: (519) 661-3340


Back to: Top of message | Previous page | Main SPSSX-L page