bugPSPP - Bugs: bug #18497, VALUE LABELS should understand \n...

 
 

bug #18497: VALUE LABELS should understand \n as newline

Submitter:  Ben Pfaff <blp>
Submitted:  Sat 09 Dec 2006 07:05:28 PM UTC
   
 
Category:  Syntax Parser Severity:  5 - Average
Status:  Fixed Assigned to:  blp
Open/Closed:  Closed Release:  Post-0.6.0
Effort:  0.00
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Thu 14 Apr 2011 04:34:05 AM UTC, comment #6: 

I pushed an implementation.

Ben Pfaff <blp>
Group administrator
Wed 13 Apr 2011 02:14:56 PM UTC, comment #5: 

I have this implemented now, I just need to finish testing.

Ben Pfaff <blp>
Group administrator
Tue 12 Apr 2011 01:58:19 PM UTC, comment #4: 

I pushed a commit that allows specifying a numeric value as a formatted string in quotes, so I'm retitling this bug to reflect the remaining work.

Ben Pfaff <blp>
Group administrator
Sun 29 Jul 2007 05:20:42 AM UTC, comment #3: 


>I wouldn't object if we decided to postpone this until after 0.6.0


Done.

Ben Pfaff <blp>
Group administrator
Sun 29 Jul 2007 03:22:10 AM UTC, comment #2: 

I wouldn't object if we decided to postpone this until after 0.6.0

John Darrington <jmd>
Group administrator
Thu 12 Jul 2007 05:34:14 AM UTC, comment #1: 


>SPSS 15 translates \n in strings into new-lines. I don't know yet whether this happens at assignment or at use (what appears in .sav files?)


In .sav files, the literal '\n' appears.  The translation seems to be done at the output stage.

John Darrington <jmd>
Group administrator
Sat 09 Dec 2006 07:05:28 PM UTC, original submission:  

For numeric variables, it should be possible to specify a value by putting a formatted value in quotes (especially useful for date formats).  This should be done by generalizing parse_number from range-parser.c to handle any variable type.

SPSS 15 translates \n in strings into new-lines.  I don't know yet whether this happens at assignment or at use (what appears in .sav files?)

Ben Pfaff <blp>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jmd (Posted a comment)
  • -email is unavailable- added by blp (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 9 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-04-14 blp StatusIn Progress Fixed
        Open/ClosedOpen Closed
        SummaryVALUE LABELS should understand \\n as newline VALUE LABELS should understand \n as newline
    2011-04-13 blp StatusNone In Progress
        SummaryVALUE LABELS should understand \\n as newline VALUE LABELS should understand \n as newline
    2011-04-12 blp SummaryVALUE LABELS command deficiencies VALUE LABELS should understand \n as newline
    2007-07-29 blp ReleaseBefore 0.6.0 Post-0.6.0
    2006-12-18 blp ReleasePost-0.6.0 Before 0.6.0
    2006-12-18 blp ReleaseNone Post-0.6.0

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code