Home > FAQ > Useful Basic Tasks when writing a script > How do I find the window which has the focus?

Compiler Limits

The compiler limits for one script (with the Include) are listed below:

For WinTask:

Maximum number of procedures/functions: 500.
A script cannot contain more than 32 local variables.
A script cannot contain more than 1000 variables.
A script cannot contain more than 128 arrays.
Maximum size for an array is 65535 elements (so from 0 to 65534).
Maximum number of parameters that can be passed to a procedure/function is 16.
A script cannot contain more than 64 OnAction statements.
A maximum of 5 Include levels is allowed.