decorative banner

Declare Variable


    To use a variable in a page, you must declare it with the Declare Variable action first.

    Trigger the action with a browser-triggered event set to onParse in the head section of the page. Choose Action > Variables > Declare Variable.

    Enter a unique name in the Name text box. Choose an appropriate data type from the Type menu:

    Boolean

    Any on/off state.

    Integer

    Any integer value.

    Float

    Any floating point value.

    String

    Any string value.

    Layer

    Any floating box in the current page.

    Layer Position

    Location of a floating box in the current page.

    Image

    Any image in the current page.

    URL

    Any URL in the current page.

    Color

    Any color in the current page.

    Scene

    Any scene in the current page.

    OnCall Action

    Any action from the head section of the page whose trigger is set to OnCall.

    Function

    Any function declared in the head section of the page.

    Use the Cookie text box to enter the name of the cookie in which you want to store the value of the variable on the viewer's hard disk. Then use the Write Cookie and Read Cookie actions to set the cookie and read its content, respectively.