this syntax worked with other variables in SPSS 24.
spssinc trans result = T.Store.Water01 to T.Store.Water12 type=25 /formula "string.split(How.Store.Water, '|')". now it gives this message in SPSS 27 (release 27.0.1.0). Did a vanilla install of SPSS 27. Did I miss something? ----- Art Kendall Social Research Consultants -- Sent from: http://spssx-discussion.1045642.n5.nabble.com/ ===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (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
Art Kendall
Social Research Consultants |
The variable names must be legal as Python names, because the procedure generates Python code based on those names. You can't have "." in a name in Python. On Mon, Dec 7, 2020 at 9:37 AM Art Kendall <[hidden email]> wrote: this syntax worked with other variables in SPSS 24. |
Thank you.
I'll change to CamelCoding. ----- Art Kendall Social Research Consultants -- Sent from: http://spssx-discussion.1045642.n5.nabble.com/ ===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (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
Art Kendall
Social Research Consultants |
or use _ On Mon, Dec 7, 2020 at 11:01 AM Art Kendall <[hidden email]> wrote: Thank you. |
Good to know that "_" is okay when using Python.
I have the impression that Water_Source01 would be more human-readable. ----- Art Kendall Social Research Consultants -- Sent from: http://spssx-discussion.1045642.n5.nabble.com/ ===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (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
Art Kendall
Social Research Consultants |
Free forum by Nabble | Edit this page |