Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1998

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

Search the Archive


  • To: mathgroup at
  • Subject: [mg13877] Re: UNEXPECTED END OF FILE !!!!!!
  • From: buttgereit at (Peter Buttgereit)
  • Date: Wed, 2 Sep 1998 01:31:09 -0400
  • Organization: Dipl.-Sportl. Peter Buttgereit
  • References: <6sav8s$>
  • Sender: owner-wri-mathgroup at

[This followup was posted to comp.soft-sys.math.mathematica and a copy 
was sent to the cited author.]

In article <6sav8s$mee at>, tolg at says...
> When I run my program this error message is shown on the screen:
> Syntax::sntxe:Unexpected end of file (probably unclosed bracket)
> and it gives the line number which has this error.(The last line of the
> program)
> I believe I don't have an unclosed bracket so what might caused this
> error message ??
> (I typed the program in EDIT of MS-DOS and used Mathematica 3.0 ; The
> program has .m extension an it is called by a main program)(I checked
> the main program)
> Thanks in advance...
> -----== Posted via Deja News, The Leader in Internet Discussion ==-----
>   Create Your Own Free Member Forum
did you check quotation marks, too? Did you check *all kinds* of brackets 
(-> "{" , "[" , "(" )?
Did you export the package from a version 3 notebook? Sometimes 
Mathematica loses the syntax due to reformatting box commands (-> 
"\(...)"). You can eliminate box formats and then use cut&paste instead 
of the export function.
Did you check line feeds?

  • Prev by Date: Re: Summing over like elements
  • Next by Date: Re: MacOS vs. Windows PC for Mathematica?
  • Previous by thread: Re: how can i save a text from noteboook ?
  • Next by thread: Re: MacOS vs. Windows PC for Mathematica?