Fixed the parsing of subcommands, such that the (n) setting is optional
[pspp] / src / var.h
index 0e15598a89851d4699459ea3126ab8da6dc9c52e..c1ad04c5ef2803560c8ce02bc27b681078b193ad 100644 (file)
--- a/src/var.h
+++ b/src/var.h
@@ -433,4 +433,13 @@ int parse_var_set_vars (const struct var_set *, struct variable ***, int *,
 int parse_DATA_LIST_vars (char ***names, int *cnt, int opts);
 int parse_mixed_vars (char ***names, int *cnt, int opts);
 
+
+
+/* Return a string representing this variable, in the form most 
+   appropriate from a human factors perspective.
+   (IE: the label if it has one, otherwise the name )
+*/
+const char * var_to_string(const struct variable *var);
+
+
 #endif /* !var_h */