Explicit Location Declaration

A declare_location statement is used to declare that a variable needs to be available in a specific location. This statement is most often used prior to an Explicit Client-Side Code (Javascript) statement or expression. Occasionally though, Exotool will show an error if it is unable to definitevely determine where a veriable should be located, in which case it will suggest to the user that a location declaration statement may be used to resolve the error.

Formats:

declare_location [identifier] server
declare_location [identifier] client

Examples

 declare_location var1 server
 declare_location var2 client