version	U12.1.00
uid	filenseq.u1-1786032981-0
impl	error
link	io.u
global	1
	0,000005,nextseqfilename,3

proc nextseqfilename
	local	0,001000,dir
	local	1,001000,pre
	local	2,001000,ext
	local	3,000020,s
	local	4,000020,f
	local	5,000020,n
	local	6,000020,wn
	local	7,000040,wf
	local	8,000000,set
	local	9,000000,dosdirlist
	local	10,000000,integer
	local	11,000000,repl
	local	12,000000,map
	local	13,000000,right
	local	14,000000,member
	con	0,002000,1,8
	con	1,002000,1,1
	con	2,010000,1,134
	con	3,010000,2,052,056
	con	4,010000,6,040,057,141,072,055,144
	con	5,020000,1,071
	con	6,010000,1,060
	con	7,010000,1,056
	declend
	filen	filenseq.icn
	line	40
	colm	11
	synt	any
lab L1
	init	L3
	mark	L2
	pnull
	var	7
	int	0
	line	45
	colm	12
	synt	any
	asgn
	unmark
lab L2
	einit	L1
lab L3
	mark	L4
	pnull
	var	0
	dup
	pnull
	pnull
	var	0
	pnull
	int	1
	line	47
	colm	16
	synt	any
	neg
	line	47
	colm	15
	synt	any
	subsc
	str	2
	line	47
	colm	20
	synt	any
	lexne
	line	47
	colm	5
	synt	any
	cat
	asgn
	unmark
lab L4
	mark	L5
	pnull
	var	3
	var	8
	var	9
	var	0
	pnull
	pnull
	pnull
	var	1
	str	3
	line	49
	colm	32
	synt	any
	cat
	var	2
	line	49
	colm	40
	synt	any
	cat
	str	4
	line	49
	colm	47
	synt	any
	cat
	line	49
	colm	21
	synt	any
	invoke	2
	line	49
	colm	9
	synt	any
	invoke	1
	line	49
	colm	3
	synt	any
	asgn
	unmark
lab L5
	mark	L6
	pnull
	var	5
	var	10
	var	11
	cset	5
	pnull
	var	6
	pnull
	var	7
	pnull
	var	1
	line	51
	colm	37
	synt	any
	size
	line	51
	colm	35
	synt	any
	minus
	line	51
	colm	29
	synt	any
	asgn
	line	51
	colm	19
	synt	any
	invoke	2
	line	51
	colm	13
	synt	any
	invoke	1
	line	51
	colm	3
	synt	any
	asgn
	unmark
lab L6
	mark	L7
	line	53
	colm	1
	synt	every
	mark0
	pnull
	var	4
	var	12
	pnull
	pnull
	pnull
	pnull
	var	0
	var	1
	line	53
	colm	21
	synt	any
	cat
	var	13
	pnull
	int	1
	var	5
	push1
	line	53
	colm	40
	synt	any
	toby
	var	6
	str	6
	line	53
	colm	36
	synt	any
	invoke	3
	line	53
	colm	28
	synt	any
	cat
	str	7
	line	53
	colm	54
	synt	any
	cat
	var	2
	line	53
	colm	61
	synt	any
	cat
	line	53
	colm	15
	synt	any
	invoke	1
	line	53
	colm	9
	synt	any
	asgn
	pop
	mark0
	line	54
	colm	9
	synt	if
	mark0
	mark	L10
	var	14
	var	3
	var	4
	line	54
	colm	22
	synt	any
	invoke	2
	unmark
	efail
lab L10
	pnull
	unmark
	mark	L11
	var	4
	line	54
	colm	33
	synt	any
	pret
lab L11
	synt	any
	pfail
	line	54
	colm	9
	synt	endif
	unmark
lab L8
	efail
lab L9
	line	53
	colm	1
	synt	endevery
	unmark
lab L7
	pnull
	line	56
	colm	1
	synt	any
	pfail
	end
