Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1998
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*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

Re: UNEXPECTED END OF FILE !!!!!!

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

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

In article <6sav8s$mee at smc.vnet.net>, tolg at mailexcite.com 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 ==-----
> http://www.dejanews.com/rg_mkgrp.xp   Create Your Own Free Member Forum
> 
> 
Hi,
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?
Cheers,
Peter


  • 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?