segment_define function

Make a segment definition