The script execution model - Scope and lifetime of variables
There are essentially two scope types in the AviSynth script language:
Contents
1
Global scope
2
Local scope
3
Lifetime of variables