|
[Date Index]
[Thread Index]
[Author Index]
$SyntaxHandler problem
- To: mathgroup at smc.vnet.net
- Subject: [mg113173] $SyntaxHandler problem
- From: Andrea <btlgs2000 at gmail.com>
- Date: Sat, 16 Oct 2010 13:12:41 -0400 (EDT)
I'm exploring functions in the tutorial/TheMainLoop section of
Mathematica help but $SyntaxHandler doesn't seem to work.
I copied and executed the following code from pag. 694 of "The
Mathematica book" fourth edition:
>>$SyntaxHandler = (Print[StringForm["Error at char `1` in `2`", #2, #1]]; $Failed) &
then I wrote
>> 3 + /
obtaining
>>Syntax::tsntxi: "3+/" is incomplete; more input is needed.
>>Syntax::sntxi: Incomplete expression; more input is needed.
but not my customized error string.
Does anyone understand why?
Thanks,
Andrea
Prev by Date:
evaluation of a non-visible dynamic[]
Next by Date:
Re: why does it still running?!
Previous by thread:
Re: evaluation of a non-visible dynamic[]
Next by thread:
How to offset tick labels?
|