Elements of Scripting
It is suggested that the reader that is unfamiliar with programming consult not only this document, but also the document called C Language Reference in General Info-->Develop which gives a very brief introduction to the C programming language.
In general scripts are composed of one or more functions, each function is composed of statements and control structures (definitions will follow). Each function should be designed to perform some simple task. These tasks are performed by the statements and control structures contained in the function. The behavior of a function is usually altered by the arguments passed to it. An example of a function that you are probably already familiar with is the messiah function MoveTo(). MoveTo() translates one item to the position of another item, the behavior of MoveTo() is altered by passing different items as arguments to the function.
|Converted from CHM to HTML with chm2web Pro 2.82 (unicode)|