Re: global option?
- To: mathgroup at smc.vnet.net
 - Subject: [mg53576] Re: global option?
 - From: "Jens-Peer Kuska" <kuska at informatik.uni-leipzig.de>
 - Date: Wed, 19 Jan 2005 01:59:25 -0500 (EST)
 - Organization: Uni Leipzig
 - References: <csio76$nlo$1@smc.vnet.net>
 - Sender: owner-wri-mathgroup at wolfram.com
 
Hi,
$Post = If[ByteCount[#] > 1000, Short[#], #] &
and
Table[0,{10}]
gives
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
but
Table[0,{100}]
gives
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 
\
0, 0, 0, 0, 0, 0, 0, 0, 0, \[LeftSkeleton]33\[RightSkeleton], 0, 0, 0, 0, 0, 
\
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 
0, \
0, 0}
Regards
  Jens
"Marko Kastens" <Kastens at Hamburg.BAW.DE> schrieb im Newsbeitrag 
news:csio76$nlo$1 at smc.vnet.net...
> Hi,
>
> is there a global option, that makes Mathematica ONLY printing out the
> error-message but NOT the expression when an error occurs?
>
> f.ex.:
> IN[1]:tmp=Table[0,{i,1000000}];
> IN[2]:Lenght[tmp] --> produces an error (should be Length) and Mathematica 
> is Printing
> the full Table _tmp_ to the output.
>
> The boring point is to wait for Mathematica finishing the 
> table(expression)...especial
> when the expression (matrix, table, list) ist very large. Very often an
> interruption (ALT+,) is not possible; sometimes it is also not possible to 
> shut
> down the kernel...
>
> It would be very helpful if there is an option to reduce or to stop this 
> kind
> of printout.
>
> Thanks for help,
> marko
>
>