From: Paul on
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
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
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
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
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
 |  Next  |  Last
Pages: 1 2 3 4
Prev: Matlab GUI code - zeros
Next: Optmisation problem