Prev: Matlab GUI code - zeros
Next: Optmisation problem
From: Paul on 3 Aug 2010 15:50 I couldn't quite find where the maximum length of a line in an .m file is specified... does anyone know? Thanks!
From: dpb on 3 Aug 2010 16:03 Paul wrote: > I couldn't quite find where the maximum length of a line in an .m file > is specified... does anyone know? Thanks! The interpreter must... :) I've not seen it documented; why would one want any one line longer than some reasonably short value w/ a few continuations? Oh, I suppose one could try to load a large set of complex data programmatically... --
From: John D'Errico on 3 Aug 2010 16:19 dpb <none(a)non.net> wrote in message <i39ssr$8v9$2(a)news.eternal-september.org>... > Paul wrote: > > I couldn't quite find where the maximum length of a line in an .m file > > is specified... does anyone know? Thanks! > > The interpreter must... :) > > I've not seen it documented; why would one want any one line longer than > some reasonably short value w/ a few continuations? If the OP is exceeding the maximum line length, their lines are too long, and need massive re-writing. If one is even remotely worried about the maximum line length, then they should seriously consider changing their programming style. > Oh, I suppose one could try to load a large set of complex data > programmatically... Shiver... Yet another thing to avoid, but I see it done over and over again. John
From: dpb on 3 Aug 2010 16:20 John D'Errico wrote: > dpb <none(a)non.net> wrote in message > <i39ssr$8v9$2(a)news.eternal-september.org>... >> Paul wrote: >> > I couldn't quite find where the maximum length of a line in an .m >> file > is specified... does anyone know? Thanks! >> >> The interpreter must... :) >> >> I've not seen it documented; why would one want any one line longer >> than some reasonably short value w/ a few continuations? > > If the OP is exceeding the maximum line length, their > lines are too long, and need massive re-writing. > > If one is even remotely worried about the maximum > line length, then they should seriously consider > changing their programming style. > > >> Oh, I suppose one could try to load a large set of complex data >> programmatically... > > Shiver... > > Yet another thing to avoid, but I see it done over and > over again. Indeed on both points afaict... --
From: Oleg Komarov on 3 Aug 2010 16:33
dpb <none(a)non.net> wrote in message <i39ts7$m5c$1(a)news.eternal-september.org>... > John D'Errico wrote: > > dpb <none(a)non.net> wrote in message > > <i39ssr$8v9$2(a)news.eternal-september.org>... > >> Paul wrote: > >> > I couldn't quite find where the maximum length of a line in an .m > >> file > is specified... does anyone know? Thanks! > >> > >> The interpreter must... :) > >> > >> I've not seen it documented; why would one want any one line longer > >> than some reasonably short value w/ a few continuations? > > > > If the OP is exceeding the maximum line length, their > > lines are too long, and need massive re-writing. > > > > If one is even remotely worried about the maximum > > line length, then they should seriously consider > > changing their programming style. > > > > > >> Oh, I suppose one could try to load a large set of complex data > >> programmatically... > > > > Shiver... > > > > Yet another thing to avoid, but I see it done over and > > over again. > > Indeed on both points afaict... > > -- Somebody can one-linearize an .m file and p-code it... Oleg |