Autoloading Notation Definitions
- To: mathgroup at smc.vnet.net
- Subject: [mg16663] Autoloading Notation Definitions
- From: Lawrence Walker <lwalker701 at earthlink.net>
- Date: Fri, 19 Mar 1999 12:54:09 -0500
- Organization: Morgan State University: COMSARE
- Sender: owner-wri-mathgroup at wolfram.com
I can automatically load the Utilities`Notations` package by
inserting the line, Get["Utilities`Notation`"], in a init.m
file under the Autoload directory.
In the line which follows, I then defined the abs symbol as
follows
Notation[|x_| \[DoubleLongRightArrow] Abs[x_]] .
The notation package loads okay.
But I get the error "Syntax::tsntxi: |-5| is incomplete;
more input is needed" when I try to enter |-5|.
I can easily define another Notation function for abs during
the session but I want my Notations to be defined
automatically at startup. How do I accomplish this?
Thanks,
Lawrence
--
------------------------------------------------------------
(\___/) The fear of the LORD is the beginning of
(o\ /o) wisdom: a good understanding have all they
/|:.V.:|\ that do his commandments: his praise
\\:::::// endureth for ever. Psa 111:10
-----`"" ""`------------------------------------------------
Lawrence A. Walker Jr., M.Eng./Ph.D. Candidate
Morgan State University
Clarence M. Mitchell School of Engineering
COMSARE (Center Of Microwave/Satellite And RF Engineering)
Rm: 306-Schafer Phone: (443)885-1453
------------------------------------------------------------