[PD] Number of Loaded Lines in a Text File Read by MSGFILE

Mike McGonagle mjmogo at gmail.com
Sat May 3 01:55:19 CEST 2008


If I understand you correctly, you will need to iterate over the file,
counting each line as you iterate over it.
You could also try using one of the externals that handles shell commands
and then use 'wc' to count the words and lines in your file.

Mike

On Fri, May 2, 2008 at 4:46 PM, mark edward grimm <mgrimm at syr.edu> wrote:

> Hello,
>
> Maybe I am missing something. I want to print the
> number of lines in a text file loaded into 'msgfile'
> OR equivalent object.  The object seems to do
> everything but that!! Am i missing something right in
> front of me? I just need to know the number of lines
> in a text file that i load...
>
> Thanks!!!
>
> BTW 'msgfile-help.pd' is missing in my pd-extended
> recent auto-build...
>
> cheers
> mark
>
>
>
> ____________________
> mark edward grimm | m.f.a | ed.m
> syracuse u. | vpa foundations | timearts
> adjunct | new media consultant
> megrimm.net | socialmediagroup.org & .com
> mgrimm at syr.edu | 315.378.2136
> ________________________________________
>
>
>
>
>
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>



-- 
Peace may sound simple—one beautiful word— but it requires everything we
have, every quality, every strength, every dream, every high ideal.
—Yehudi Menuhin (1916–1999), musician
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20080502/c1ba13d6/attachment.htm>


More information about the Pd-list mailing list