/* PSPP - computes sample statistics.
Copyright (C) 1997-9, 2000 Free Software Foundation, Inc.
- Written by Ben Pfaff <blp@gnu.org>.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
-const char *
-var_to_string(const struct variable *var)
-{
- const char *label;
-
- if ( !var )
- return 0;
-
- label = var_get_label (var);
- return label ? label : var_get_name (var);
-}