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:         Tue, 23 Aug 2005 10:20:36 -0400
Reply-To:     "Jun.Wan" <Jun.Wan@ORCMACRO.COM>
Sender:       "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:         "Jun.Wan" <Jun.Wan@ORCMACRO.COM>
Subject:      Re: about the behavior of INDEX function
In-Reply-To:  <>
Content-Type: text/plain; charset="us-ascii"

I just find out why!

Thank you!

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Jun Wan Research Associate ORC Macro 3 Corporate Square NE Suite 370 Atlanta GA 30329 Phone:404.321.3211 Fax: 404.321.3688 Email: -----Original Message----- From: Jun Wan [mailto:jun.wan@ORCMACRO.COM] Sent: Tuesday, August 23, 2005 10:17 AM To: SPSSX-L@LISTSERV.UGA.EDU Cc: Jun Wan Subject: about the behavior of INDEX function


I have a dataset have a string variable named 'ax' like

';1;' ';8;16;'

It begin and end with a ';' and all number seperated by ';'

syntax like

COMPUTE i1=INDEX(ax,';1;'). IF (i1=0) i1=INDEX(ax,';1 ').

set i1 to 0 when ax is ';4;8;16;'

Can anyone know why?

Thank you


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