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 (September 2003)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 1 Sep 2003 10:05:52 +0200
Reply-To:     boulsaien khaled <boulsaienkhaled@yahoo.fr>
Sender:       "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:         boulsaien khaled <boulsaienkhaled@yahoo.fr>
Subject:      Questions raised by SPSS new user
Content-Type: text/plain; charset=iso-8859-1

I am Khaled these are my questions:

*******q1,q21,q31 are 3 variables , the script below works correctly

Sub main Dim arr_var(2) As String arr_var(0)="q1" arr_var(1)="q21" arr_var(2)="q31" For i=0 To 2 strCommand = "GRAPH" & vbCrLf strCommand = strCommand & " /BAR(SIMPLE)=PCT BY " & arr_var(i) & vbCrLf strCommand = strCommand & " /MISSING=REPORT." & vbCrLf objSpssApp.ExecuteCommands strCommand, True Next i

End Sub ******the poblem is when I want to delete (I don't want to display )the missing value The problem is where to write arr_var(i) in the new syntax below Sub main Dim arr_var(2) As String arr_var(0)="q1" arr_var(1)="q21" arr_var(2)="q31" For i=0 To 2 Dim strCommand As String strCommand = strCommand & "GRAPH" strCommand = strCommand & vbCrLf strCommand = strCommand & " /BAR(SIMPLE)=PCT BY " & arr_var(i) & vbCrLf objSpssApp.ExecuteCommands strCommand, True Next i

End Sub

*******the script below don't work correctly I confront the same problem wen I use the syntax of Interacive Pie Simple I don't know where I should put arr_var(i ) in the syntax Is there a general solution for these problems. I want also to know how to use "&"

********Sometimes I am sure that my script is correct but the response of SPSS after runnig the script is "Identifier is already in use", I point out again that my scipt is correct because I can execute it successfully in other machines.(my goal is to know the meanig of this message)

**********how obtain "polygone de frequence" the normal Curve and The histogram at the same time (In the same grapgh)

--------------------------------- Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Testez le nouveau Yahoo! Mail


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