Introduction to Scripts

<< Click to Display Table of Contents >>

 

Introduction to Scripts

Scripts are pieces of source code (programming) with which users can create procedures linked to specific events, allowing great flexibility when developing and using applications. All scripts are linked to events, and every Elipse E3 object contains a list of previously defined events, and users can define new user-generated events.

According to the concepts of object-oriented programming languages, Properties define attributes of an object, such as the appearance of a Screen control or the initial value of an object when starting an application.

 

NOTE

Until now, we have been working only with Elipse E3 properties. We already know a few Elipse E3 properties, and we also know that there are two ways to modify them, via Properties Window or via Links.

 

Methods are previously defined functions, which execute certain actions on object's properties that call these actions. For example, functions that perform a writing to Tags (Write or WriteEx), among others. In object-oriented programming languages, users must create methods to work on a property. For every method in Elipse E3, users must define an event to which it is linked, because Elipse E3 scripts are event-oriented.

Events are occurrences related to an object, which can be handled to perform an action or a method.

Was this page useful?