## Scripting reference

This section contains information that goes beyond scripting basics. It presents the internals of AviSynth script processing, their influence on script performance as well as advanced techniques for using productively the features of the AviSynth script language. Before reading further it is recommended that you first become familiar with basic concepts of the AviSynth syntax.

- The script execution model

  The steps behind the scenes from the script to the final video clip output. The filter graph. Scope and lifetime of variables. Evaluation of runtime scripts.

- User functions

  How to effectively write and invoke user functions; common pitfalls to avoid; ways to organise your function collection and create libraries of functions, and many more.

- Block statements

  Techniques and coding idioms for creating blocks of AviSynth script statements.

- Arrays

  Using arrays and array operators for manipulating collections of data in a single step.

- Runtime environment

  How to unravel the power of runtime filters and create complex runtime scripts that can perform interesting (and memory/speed efficient) editing/processing operations and effects.

`$Date: 2008/04/20 19:07:33 $`