Date: Tue, 21 Sep 2010 07:55:24 -0400
Reply-To: Art@DrKendall.org
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: Art Kendall <Art@DrKendall.org>
Organization: Social Research Consultants
Subject: Re: Auto indent syntax option
In-Reply-To: <7.0.1.0.2.20100920191202.03d31598@mindspring.com>
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Evidently version 19 will have automatic indenting.
FORTRAN 77 (which is the version on DEC machines in 1971) could do it
and it did not have the convention of ending a command with a period.
SPSS colors complete procedures and (in)complete loops etc. so most of
the logic should already be there in the editor.
A statement is incomplete until a period id hit in the text parser.
Art Kendall
Social Research Consultants
On 9/20/2010 9:58 PM, Richard Ristow wrote:
> At 07:11 PM 9/15/2010, Jon K Peck wrote:
>
>> If all you want is for every indented line (maybe ignoring blank
>> lines) to have a plus or dash inserted at the front, that would be a
>> pretty easy scripting job, and you could even create a toolbar button
>> for that.
>
> Would it be that easy? You'd have to distinguish indented lines that
> begin new statements from indented lines that continue existing
> statements. I've run into that often enough, using a text editor to
> do the indenting.
>
> =====================
> To manage your subscription to SPSSX-L, send a message to
> LISTSERV@LISTSERV.UGA.EDU (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
>
=====================
To manage your subscription to SPSSX-L, send a message to
LISTSERV@LISTSERV.UGA.EDU (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
|