/* 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
/* Erase old value labels if desired. */
for (i = 0; i < var_cnt; i++)
- val_labs_clear (vars[i]->val_labs);
+ var_clear_value_labels (vars[i]);
}
/* Parse all the labels for the VAR_CNT variables in VARS and add
}
for (i = 0; i < var_cnt; i++)
- val_labs_replace (vars[i]->val_labs, value, ds_cstr (&label));
+ var_replace_value_label (vars[i], &value, ds_cstr (&label));
ds_destroy (&label);