Example: lr.scenario_id

The following example retrieves the scenario ID, checks its validity, and sends it to the output.

scenarioid= lr.scenario_id;

if(scenarioid==-1)

lr.output_message("No Scenario ID is available");

else

lr.output_message("Scenario ID = " + scenarioid);