Mercurial > hg > octave-lyh
comparison src/ls-oct-ascii.cc @ 5775:ace8d8d26933
[project @ 2006-04-24 19:13:06 by jwe]
author | jwe |
---|---|
date | Mon, 24 Apr 2006 19:13:11 +0000 |
parents | 7ba9ad1fec11 |
children | 1138ced03f14 |
comparison
equal
deleted
inserted
replaced
5774:e7af222e98b0 | 5775:ace8d8d26933 |
---|---|
256 // # length: 6 | 256 // # length: 6 |
257 // string | 257 // string |
258 // # length: 5 | 258 // # length: 5 |
259 // array | 259 // array |
260 // | 260 // |
261 // XXX FIXME XXX -- this format is fairly rigid, and doesn't allow for | 261 // FIXME -- this format is fairly rigid, and doesn't allow for |
262 // arbitrary comments. Someone should fix that. It does allow arbitrary | 262 // arbitrary comments. Someone should fix that. It does allow arbitrary |
263 // types however. | 263 // types however. |
264 | 264 |
265 // Ugh. The signature of the compare method is not standard in older | 265 // Ugh. The signature of the compare method is not standard in older |
266 // versions of the GNU libstdc++. Do this instead: | 266 // versions of the GNU libstdc++. Do this instead: |
345 // | 345 // |
346 // Assumes ranges and strings cannot contain Inf or NaN values. | 346 // Assumes ranges and strings cannot contain Inf or NaN values. |
347 // | 347 // |
348 // Returns 1 for success and 0 for failure. | 348 // Returns 1 for success and 0 for failure. |
349 | 349 |
350 // XXX FIXME XXX -- should probably write the help string here too. | 350 // FIXME -- should probably write the help string here too. |
351 | 351 |
352 bool | 352 bool |
353 save_ascii_data (std::ostream& os, const octave_value& val_arg, | 353 save_ascii_data (std::ostream& os, const octave_value& val_arg, |
354 const std::string& name, bool& infnan_warned, | 354 const std::string& name, bool& infnan_warned, |
355 bool strip_nan_and_inf, bool mark_as_global, | 355 bool strip_nan_and_inf, bool mark_as_global, |