S) Header trailer scenario using reformat & lookup
FBE Next_in_sequence ==1; Reformat output_index_ out : : output_index (in) = begin output_index_ out : : if ( next_in_sequence () == lookup_count ( " hh " ) ) 1 else 0; end ;