Mercurial > hg > octave-lyh
comparison src/pr-output.cc @ 195:13c6086c325c
[project @ 1993-11-06 10:12:29 by jwe]
author | jwe |
---|---|
date | Sat, 06 Nov 1993 10:14:11 +0000 |
parents | e2c950dd96d2 |
children | cd2e49fb4f6b |
comparison
equal
deleted
inserted
replaced
194:4f3364dcf450 | 195:13c6086c325c |
---|---|
1143 set_output_prec_and_fw (int prec, int fw) | 1143 set_output_prec_and_fw (int prec, int fw) |
1144 { | 1144 { |
1145 tree_constant *tmp = NULL_TREE_CONST; | 1145 tree_constant *tmp = NULL_TREE_CONST; |
1146 | 1146 |
1147 tmp = new tree_constant ((double) prec); | 1147 tmp = new tree_constant ((double) prec); |
1148 bind_variable ("output_precision", tmp); | 1148 bind_builtin_variable ("output_precision", tmp); |
1149 | 1149 |
1150 tmp = new tree_constant ((double) fw); | 1150 tmp = new tree_constant ((double) fw); |
1151 bind_variable ("output_max_field_width", tmp); | 1151 bind_builtin_variable ("output_max_field_width", tmp); |
1152 } | 1152 } |
1153 | 1153 |
1154 void | 1154 void |
1155 set_format_style (int argc, char **argv) | 1155 set_format_style (int argc, char **argv) |
1156 { | 1156 { |