Component TScript
=================
Version 1.4

Author: 
	Matthias Ackermann
	Hinter Gaerten 7
	4125 Riehen
	Switzerland

	e-mail: mackermann@student.ethz.ch

Legal Issues
------------
Copyright  1999 by Matthias Ackermann

This software is provided as it is, without any kind of warranty 
given. The author can not be held responsible for any kind of
damage, problems etc. arised from using this product.

The use of this software is free for educational, testing 
and comercional purposes.

Installation Delphi 4
---------------------
1. Unzip at least the following files from the zip archive (folder "Delphi4"): 
	- Script.bpl
	- ScriptTypes.dcu 
	- ScriptExceptions.dcu
	- Tokenizer.dcu
2. Start Delphi 4
3. Choose "Install Packages" from menu "Components".
4. Choose "Add".
5. A standard file selection dialog will pop up. Select "Script.bpl"

The new components will be added to a panel called "Script"

Installation Delphi 3
---------------------
1. Unzip at least the following files from the zip archive (folder "Delphi3"): 
	- Script.dpl
	- ScriptTypes.dcu 
	- ScriptExceptions.dcu
	- Tokenizer.dcu
2. Start Delphi 3
3. Choose "Install Packages" from menu "Components".
4. Choose "Add".
5. A standard file selection dialog will pop up. Select "Script.dpl" 

The new components will be added to a panel called "Script"

How to use
----------
Add a TScript and a TFuncs component to your project. This will create two
objects called Script1 and Funcs1. Set the property "Functions" of Script1 
to Funcs1. To run a script add the following code to your project:

	Script1.Text := 'for x := 1 to 2 do CopyRight;'; // Or any other script code
	Script1.Execute;

if you edited your script code in a TMemo component replace the first line by:

	Script1.Text := Memo1.Lines.Text; 

Help
----
- How to use all features of the three components of the Script 
package is explained in the ScriptDemo Delphi project.

- The Documentation for the classes used in this package is located
in CLASSES.TXT

- The syntax used by TScript is documented in SYNTAX.TXT

- How script works in detail is explained in TECHTALK.TXT

- If you need more information please write me an email. I'll try
to answer your questions as soon as possible.


Source code
-----------
If you need the source code of this component just send me an email
and tell me why. If I'm conviced by your reasons you'll get it for free :)

In fact I'm just interested who is using my code. 


Bugs 
----

Fixed in version 1.1

- Missing ScriptExceptions.dcu added.

Fixed in version 1.2:
- If the decimal separator sign on your system is set to something other than "." 
a floating point constant in the script will cause an EConvertError-exception. 
- The OR keyword only works correct if it is written in capital letters.
- The script code "IF TRUE OR FALSE THEN " causes an "Invalid Index"-exception.

Fixed in version 1.3:
- Support for Delphi 3 added.

Fixed in version 1.4:
- Delphi 3 dcu's added (V 1.3 only includes the dpl-file)

Please send bug reports to: mackermann@student.ethz.ch

New Functions
-------------
Version 1.2

- The "COPYRIGHT" function shows the version of the TScript-component.

Version 1.3

- None
