version	U12.1.00
uid	imageseq.u1-1786291396-0
impl	error
global	5
	0,000001,prefix__,0
	1,000001,count__,0
	2,000001,width__,0
	3,000005,seq_init,1
	4,000005,save_image,5

proc seq_init
	local	0,001000,opts
	local	1,000000,prefix__
	local	2,000000,count__
	local	3,000000,width__
	con	0,010000,1,156
	con	1,010000,5,151,155,141,147,145
	con	2,010000,1,146
	con	3,002000,1,0
	con	4,002000,1,1
	con	5,010000,1,143
	con	6,002000,1,3
	declend
	filen	imageseq.icn
	line	38
	colm	11
	synt	any
	mark	L1
	pnull
	var	1
	line	40
	colm	16
	synt	ifelse
	mark	L2
	mark	L4
	pnull
	var	0
	line	40
	colm	19
	synt	any
	null
	line	40
	colm	25
	synt	any
	esusp
	goto	L5
lab L4
	pnull
	pnull
	var	0
	str	0
	line	40
	colm	32
	synt	any
	subsc
	line	40
	colm	27
	synt	any
	null
lab L5
	unmark
	str	1
	goto	L3
lab L2
	pnull
	var	0
	str	0
	line	40
	colm	60
	synt	any
	subsc
lab L3
	line	40
	colm	16
	synt	endifelse
	line	40
	colm	13
	synt	any
	asgn
	unmark
lab L1
	mark	L6
	pnull
	var	2
	line	41
	colm	15
	synt	ifelse
	mark	L7
	mark	L9
	pnull
	var	0
	line	41
	colm	18
	synt	any
	null
	line	41
	colm	24
	synt	any
	esusp
	goto	L10
lab L9
	pnull
	pnull
	var	0
	str	2
	line	41
	colm	31
	synt	any
	subsc
	line	41
	colm	26
	synt	any
	null
lab L10
	unmark
	int	3
	goto	L8
lab L7
	pnull
	pnull
	var	0
	str	2
	line	41
	colm	53
	synt	any
	subsc
	int	4
	line	41
	colm	59
	synt	any
	minus
lab L8
	line	41
	colm	15
	synt	endifelse
	line	41
	colm	12
	synt	any
	asgn
	unmark
lab L6
	mark	L11
	pnull
	var	3
	line	42
	colm	15
	synt	ifelse
	mark	L12
	mark	L14
	pnull
	var	0
	line	42
	colm	18
	synt	any
	null
	line	42
	colm	24
	synt	any
	esusp
	goto	L15
lab L14
	pnull
	pnull
	var	0
	str	5
	line	42
	colm	31
	synt	any
	subsc
	line	42
	colm	26
	synt	any
	null
lab L15
	unmark
	int	6
	goto	L13
lab L12
	pnull
	var	0
	str	5
	line	42
	colm	53
	synt	any
	subsc
lab L13
	line	42
	colm	15
	synt	endifelse
	line	42
	colm	12
	synt	any
	asgn
	unmark
lab L11
	mark	L16
	mark	L17
	pnull
	line	44
	colm	4
	synt	any
	pret
lab L17
	synt	any
	pfail
	unmark
lab L16
	pnull
	line	46
	colm	1
	synt	any
	pfail
	end
proc save_image
	local	0,001000,win
	local	1,001000,x
	local	2,001000,y
	local	3,001000,w
	local	4,001000,h
	local	5,000000,seq_init
	local	6,000000,prefix__
	local	7,000000,type
	local	8,000000,WriteImage
	local	9,000000,right
	local	10,000000,count__
	local	11,000000,width__
	con	0,010000,6,167,151,156,144,157,167
	con	1,002000,1,1
	con	2,010000,1,060
	con	3,010000,4,056,147,151,146
	declend
	line	48
	colm	11
	synt	any
lab L1
	init	L3
	mark	L2
	var	5
	pnull
	var	6
	line	50
	colm	21
	synt	any
	null
	line	50
	colm	20
	synt	any
	invoke	1
	unmark
lab L2
	einit	L1
lab L3
	mark	L4
	line	52
	colm	4
	synt	if
	mark0
	pnull
	var	7
	var	0
	line	52
	colm	11
	synt	any
	invoke	1
	str	0
	line	52
	colm	17
	synt	any
	lexne
	unmark
	mark	L5
	pnull
	var	0
	pnull
	var	1
	pnull
	var	2
	pnull
	var	3
	var	4
	line	53
	colm	29
	synt	any
	swap
	line	53
	colm	23
	synt	any
	swap
	line	53
	colm	17
	synt	any
	swap
	line	53
	colm	11
	synt	any
	swap
	unmark
lab L5
	pnull
	var	0
	line	54
	colm	14
	synt	any
	keywd	window
	line	54
	colm	11
	synt	any
	asgn
	line	52
	colm	4
	synt	endif
	unmark
lab L4
	mark	L6
	mark	L7
	var	8
	var	0
	pnull
	pnull
	var	6
	var	9
	pnull
	var	10
	dup
	int	1
	line	57
	colm	53
	synt	any
	plus
	asgn
	var	11
	str	2
	line	57
	colm	44
	synt	any
	invoke	3
	line	57
	colm	36
	synt	any
	cat
	str	3
	line	57
	colm	74
	synt	any
	cat
	var	1
	var	2
	var	3
	var	4
	line	57
	colm	21
	synt	any
	invoke	6
	line	57
	colm	4
	synt	any
	pret
lab L7
	synt	any
	pfail
	unmark
lab L6
	pnull
	line	60
	colm	1
	synt	any
	pfail
	end
