\begindata{text,538476484}
\textdsversion{12}
\template{default}
\define{global
}
Ness is the ATK extension language.  It can be used to define customized 
behavior for ATK objects.


Because Ness is a full-powered programming language, security problems are 
raised.  How would you like to read a piece of mail containing a Ness inset 
which, before you realize it, is busy deleting all your files?


Ness's solution to this problem is to disable the script until the user is 
satisfied that it won't do anything malicious.  A user is encouraged to read a 
Ness script before running it.  Ness even has an option, ``Scan for danger,'' 
which will try to identify portions of the Ness program that may do harm.


A Ness script looks like a text sub-inset.  Here is an example:


\leftindent{The two button insets below, labeled ``Hit Me Once'' and ``Hit Me 
Twice,'' do not have any behavior associated with them.  You push them, and 
nothing happens.  The Ness script below the buttons, once empowered, will 
associate an action with the second button.  Read the Ness script, and then 
empower it.  Now the ``Hit Me Twice'' button will display a short message in 
the bottom of the window when pressed.

}
\center{\
\begindata{cel,539179784}
\V 2
\begindata{value,538756616}
>10
\enddata{value,538756616}
10 538756616 1 0 0 0 
>OBJ< value
>VIEW< buttonV
>REF< deadbutton
>LINK< ÑP 
\begindata{text,538514932}
\textdsversion{12}
[string] <style> ()

[string] <background-color> ()

[string] <foreground-color> ()

[long] <bodyfont-size> (14)

[string] <bodyfont> (times)

[string] <label> (Hit Me Once)

\enddata{text,538514932}
\enddata{cel,539179784}
\view{celview,539179784,691,120,0}\
\begindata{cel,539179528}
\V 2
\begindata{value,538756872}
>4
\enddata{value,538756872}
10 538756872 1 0 0 0 
>OBJ< value
>VIEW< buttonV
>REF< livebutton
\begindata{text,538287976}
\textdsversion{12}
[string] <style> ()

[string] <background-color> ()

[string] <foreground-color> ()

[long] <bodyfont-size> (14)

[string] <bodyfont> (times)

[string] <label> (Hit Me Twice)

\enddata{text,538287976}
\enddata{cel,539179528}
\view{celview,539179528,692,115,0}}
\begindata{ness,538752008}
\origin{01\\15 Oct 1991 at 12:49:55 EDT\\bobg:  Robert Steven Glickstein\\00}
\template{default}
\define{global
}
\define{sans
menu:[Font,Sans]
attr:[FontFamily AndySans Int 0]}
extend "livebutton"

	on mouse "any"

		if mouseaction = mouseleftup then

			TellUser("Hit me chicken soup with rice")

		end if

	end mouse

end extend

\enddata{ness,538752008}
\view{nessview,538752008,693,0,0}
\begindata{table,538756488}
\cols 123 215
\begindata{link,538757000}
Datastream version: 3
$(ANDREWDIR)/doc/AtkTour/Dict
0
0
\begindata{link,538757000}
Datastream version: 2
Dict
2

black
white
\enddata{link,538757000}
\enddata{link,538757000}
	\begindata{text,538376612}
\textdsversion{12}
A Ness example:  Looking up dictionary definitions.\
\enddata{text,538376612}

\begindata{link,538757128}
Datastream version: 3
$(ANDREWDIR)/doc/AtkTour/Birth
0
0
\begindata{link,538757128}
Datastream version: 2
Birth
2

black
white
\enddata{link,538757128}
\enddata{link,538757128}
	\begindata{text,538608648}
\textdsversion{12}
A Ness example:  A birthday-quotation database.\
\enddata{text,538608648}

\begindata{link,538757256}
Datastream version: 3
$(ANDREWDIR)/doc/AtkTour/Volume
0
0
\begindata{link,538757256}
Datastream version: 2
Volume
2

black
white
\enddata{link,538757256}
\enddata{link,538757256}
	\begindata{text,538352996}
\textdsversion{12}
A Ness example:  Programmatic links between insets.\
\enddata{text,538352996}

\begindata{link,538757384}
Datastream version: 3
$(ANDREWDIR)/doc/AtkTour/Adew
0
0
\begindata{link,538757384}
Datastream version: 2
Adew
2

black
white
\enddata{link,538757384}
\enddata{link,538757384}
	\begindata{text,538475488}
\textdsversion{12}
Adew combines with Ness to make a powerful application-builder.\
\enddata{text,538475488}

\begindata{link,538756232}
Datastream version: 3
$(ANDREWDIR)/doc/AtkTour/Menu
0
0
\begindata{link,538756232}
Datastream version: 2
Menu
2

black
white
\enddata{link,538756232}
\enddata{link,538756232}
	\begindata{text,539026032}
\textdsversion{12}
Menu of nodes for this tour.\
\enddata{text,539026032}

\enddata{table,538756488}
\view{spread,538756488,694,0,0}

\begindata{bp,537558784}
\enddata{bp,537558784}
\view{bpv,537558784,696,0,0}
Copyright 1992 Carnegie Mellon University and IBM.  All rights reserved.

\smaller{\smaller{$Disclaimer: 

Permission to use, copy, modify, and distribute this software and its 

documentation for any purpose is hereby granted without fee, 

provided that the above copyright notice appear in all copies and that 

both that copyright notice, this permission notice, and the following 

disclaimer appear in supporting documentation, and that the names of 

IBM, Carnegie Mellon University, and other copyright holders, not be 

used in advertising or publicity pertaining to distribution of the software 

without specific, written prior permission.



IBM, CARNEGIE MELLON UNIVERSITY, AND THE OTHER COPYRIGHT HOLDERS 

DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING 

ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS.  IN NO EVENT 

SHALL IBM, CARNEGIE MELLON UNIVERSITY, OR ANY OTHER COPYRIGHT HOLDER 

BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY 

DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, 

WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS 

ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE 

OF THIS SOFTWARE.

 $

}}\enddata{text,538476484}
