[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] line numbers



I don't know if there is a method... but the quick idea that comes to mind
is to create a parse error (leave out a semi-colon, add an extra paren?)
and run the code... the error usually shows the line number.  Not pretty,
but it should work?

Josh

******************************************
Joshua D. Parmenter
Graduate Student, Music Composition

"...Some people think a composer's supposed to please them, but in a way a
composer is a chronicler... He's supposed to report on what he's seen and
lived."
							-Charles Mingus

On Fri, 2 Jan 2004, Paul Lansky wrote:

>
> Is there any method for the Document class to return
> a line number?
> thanks
> paul lansky
> _______________________________________________
> sc-users mailing list
> sc-users@xxxxxxxxxxxxxxx
> http://www.create.ucsb.edu/mailman/listinfo/sc-users
>