/* PSPP - computes sample statistics.
Copyright (C) 1997-9, 2000 Free Software Foundation, Inc.
- Written by John Darrington <john@darrington.wattle.id.au>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
return CMD_FAILURE;
}
- for( i = 0 ; i < nv ; ++i )
- v[i]->alignment = align;
-
+ for( i = 0 ; i < nv ; ++i )
+ var_set_alignment (v[i], align);
while (lex_token (lexer) == '/')
lex_get (lexer);
}
for( i = 0 ; i < nv ; ++i )
- v[i]->display_width = lex_tokval (lexer);
+ var_set_display_width (v[i], lex_integer (lexer));
while (lex_token (lexer) == '/')
lex_get (lexer);
}
for( i = 0 ; i < nv ; ++i )
- v[i]->measure = level ;
+ var_set_measure (v[i], level);
while (lex_token (lexer) == '/')