;+
; NAME:
;	SMEI_SEQUENCE::SET_ROLL
;
;
; PURPOSE:
;	To set whether to roll around when scrolling through a sequence.
;
;
; CATEGORY:
;	SMEI_SEQUENCE
;
;
; CALLING SEQUENCE:
;	seqref -> set_roll, roll
;
;
; INPUTS:
;	roll	int	Set whether to roll or not.
;
; NOTES:
;	The negated storage is to preserve the original behaviour as
;	the default.
;
; MODIFICATION HISTORY:
;	Original: 20/7/10; SJT
;-

pro smei_sequence::set_roll, roll

self.options.no_roll = ~roll

end
