start_section : end section; priority_section : put(tasks.priority(0)); if(simulation_time>9) then tasks.priority(1):=1; tasks.priority(2):=3; end if; end section; election_section : return min_to_index(tasks.priority); end section;