Member Operator (.)

InstallShield 2016 ยป InstallScript Language Reference

Use the member operator to reference individual elements in a structure variable. The member operator must appear between the structure variable name and the element name, with no intervening space. In the example below, a literal value is assigned to each element in a structure variable.

    typedef SETTINGSREC

    begin

      BOOL bSwitchOn;

      STRING szMssg[255];

      INT nVal;

    end;

    

    SETTINGSREC settings;

    

    settings.bSwitchOn = FALSE;

    settings.szMssg = "Off";

    settings.nVal = 0;

See Also