• Status Requires testing
  • Percent Complete
  • Task Type Bug Report
  • Category Parser
  • Assigned To
    Jens Lauritsen
  • Operating System All
  • Severity Medium
  • Priority High
  • Reported Version 2.0
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Analysis
Opened by Jens Lauritsen - 07.02.2019
Last edited by Torsten Bonde Christiansen - 09.04.2019

FS#199 - value label - needs a new option for replace content

an error is created if a vl already exist.

add new option , e.g.
new vl g i (0,"No") (1,"possibly") (2,"Definetely") !replace;

This will avoid the error message:
ERROR: Cannot create "g", name already used as a valuelabel!
Torsten Bonde Christiansen commented on 03.04.2019 20:41

Why not just use edit vl - that is what the edit command is there for.

if you are in doubt the VL exists then test witht the function "exist(X)" which return true or false. This is in the documentation

Jens Lauritsen commented on 07.04.2019 07:15

because edit vl will fail if the value label exists
we must simplify the pgm language for the user base, the if clause is complicated
Torsten Bonde Christiansen commented on 09.04.2019 20:26

Added in r975 - please test and close if completed.


Available keyboard shortcuts


Task Details

Task Editing