Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive

MathGroup Archive 2012

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Line Numbers in Files

  • To: mathgroup at
  • Subject: [mg125228] Re: Line Numbers in Files
  • From: Szabolcs <szhorvat at>
  • Date: Thu, 1 Mar 2012 05:32:00 -0500 (EST)
  • Delivered-to:
  • References: <jil5hh$rpg$>

On Wednesday, 29 February 2012 14:26:25 UTC+2, Don  wrote:
> I am getting a warning
> regarding one of the packages I have
> written which says the following:
> Syntax::com : 
>   Warning : Comma encountered with no adjacent expression. The
>      expression will be treated as Null.  (line 2333 of
>          "AFin6`UserFuncs`XFdData1`").
> Is there a way to go to the 
> a specific line number in a file?  Line 2333 above
> is impossible to locate otherwise.  
> With all  the amazing functionality in Mathematica,
> sometimes extremely simple things that
> are immediately obvious in other languages  turn out
> to be very difficult to find out how to do.  

I'd recommend you use a text editor instead of the front end to find the line.  Wolfram Workbench, geared towards package development, also lets to jump to line numbers.

  • Prev by Date: Re: Mathematica 4.1 and Windows 7 compatibility
  • Next by Date: Re: Input[] Function Evaluation
  • Previous by thread: Re: Mathematica 4.1 and Windows 7 compatibility
  • Next by thread: Re: Line Numbers in Files