Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
69 posts
|
The Syntax-Editor show me a unuseful behavior with comments.
This code * Qualifikation FREQUENCIES VARIABLES=v46c /ORDER=ANALYSIS. Is never executed, because line #2 and #3 are also interpreted as comments. I can see this in the editor because the text is gray/disabled. The editor need a blank line between #1 and #2. But his make the code hard to read and interpret on the first view. -- <http://dontbubble.us/> ===================== 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 |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
83 posts
|
You should put a dot at the end where ur comment line end or add another blank line before starting your syntax. On Apr 1, 2014 4:50 PM, "Moon Kid" <[hidden email]> wrote:
The Syntax-Editor show me a unuseful behavior with comments. ... [show rest of quote] |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1806 posts
|
In reply to this post by Moon Kid
At 07:18 AM 4/1/2014, Moon Kid wrote:
>The Syntax-Editor show me a unuseful behavior with comments. >This code > >* Qualifikation >FREQUENCIES VARIABLES=v46c > /ORDER=ANALYSIS. > >is never executed, because line #2 and #3 are also interpreted as comments. To be more precise about how SPSS is 'thinking' here: "COMMENT", synonym "*", is an SPSS statement. Like other statements, it can be continued for multiple lines. Also like other statements, it's ended by a closing '.' on any line, or a blank line. So, #2 and #3 are not interpreted as [separate] comments; they are interpreted as part of the COMMENT ("*") statement that begins on line #1. As Gaurav Srivastava noted, all you need do is close the comment statement with a period: * Qualifikation . FREQUENCIES VARIABLES=v46c /ORDER=ANALYSIS. ===================== 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 |
Free forum by Nabble | Edit this page |