WARN10-Var parameters that are used, but possibly never set (ref/set by unknown subprograms

Top  Previous  Next

 

Var parameters that are used, but possibly never set (ref/set by unknown subprograms (WARN10)

 

This is a list of all var parameters that are used but never set in the subprogram they belong to. They are referenced in unknown fashion, and the parser cannot determine whether they are set or just referenced in these locations. Although this is not an error, it may be an indication that something is wrong with your code. Otherwise, you may omit the var keyword, or change it to a const parameter.

 

Example:

 

clip0071

 

Restrictions:

Parameters to event handlers are not reported.

 

 

See also:

 

Alerts