Locking System words
[1/3] from: ptretter:charter at: 2-Jun-2001 6:51
Has anyone create a function to protect all system/words that are applicable to the protect
function?
Paul Tretter
[2/3] from: gjones05:mail:orion at: 2-Jun-2001 7:50
From: "Paul Tretter"
> Has anyone create a function to protect all system/words
> that are applicable to the protect function?
I remembered seeing the following in the /Core manual. Maybe this is
what you are looking for.
===
Important function and system words can be protected using the
protect-system
function. Protecting function and system words is especially useful for
beginners
who might accidentally set important words. If protect-system is placed
in your
user.r file, then all predefined words are protected.
===
then:
? protect-system
USAGE:
PROTECT-SYSTEM
DESCRIPTION:
Protects all system functions and the system object from
redefinition.
PROTECT-SYSTEM is a function value.
I suspect that this is what you are looking for.
--Scott Jones
[3/3] from: ptretter::charter::net at: 2-Jun-2001 8:05
Yes that is exactly what I'm looking for. Thanks..
Paul Tretter