Date: Mon, 24 Sep 2007 22:29:41 -0400
Reply-To: Catherine Kubitschek <Catherine.A.Kubitschek.2@nd.edu>
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: Catherine Kubitschek <Catherine.A.Kubitschek.2@nd.edu>
Subject: Re: comments within commands .
In-Reply-To: <7.0.1.0.2.20070924215753.03785968@mindspring.com>
Content-Type: text/plain; charset="us-ascii"; format=flowed
Many thanks, Richard and Jonathan. That was exactly the problem and
Richard's solution worked. -Catherine
At 9/24/2007 10:03 PM, Richard Ristow wrote:
>At 09:42 PM 9/24/2007, Catherine Kubitschek wrote:
>
>>I'm trying to comment out part of a command in situ but I'm not having
>>much luck getting it to run.
>>
>>match files file=Acad_013 /in=in013
>> /table=Acad_Tce /in=inTce
>> /* /table=Acad_2006 /in=in2006 */
>> /by Id .
>>
>>The error message I'm getting indicates that the comment is ending the
>>match files command.
>
>I'm afraid that's just what happens. As you quote from the Command
>Syntax Reference, "The comment can be placed wherever a blank is
>valid." Unfortunately, as a corollary or implementation quirk, for
>parsing of code, a comment *IS* a blank. So your command is parsed as
>
>match files file=Acad_013 /in=in013
> /table=Acad_Tce /in=inTce
>
> /by Id .
>
>and the blank line ends it. I'd like to do what you want to, too, but
>anyway, this should work (but untested):
>
>match files file=Acad_013 /in=in013
> /table=Acad_Tce /in=inTce
> /* /table=Acad_2006 /in=in2006 */ /by Id .
|