version	U12.1.00
uid	adjuncts.u1-1786032975-0
impl	error
global	10
	0,000001,_slash,0
	1,000001,_baselen,0
	2,000001,_delimiter,0
	3,000001,_OS_offset,0
	4,000001,firstline,0
	5,000005,Set_OS,0
	6,000005,Basename,1
	7,000005,Pathname,1
	8,000005,getidxname,1
	9,000005,Strip,2

proc Set_OS
	local	0,000000,_delimiter
	local	1,000000,char
	local	2,000000,find
	local	3,000000,_slash
	local	4,000000,_baselen
	local	5,000000,_OS_offset
	local	6,000000,stop
	con	0,002000,3,255
	con	1,010000,4,125,116,111,130
	con	2,010000,5,101,155,151,147,141
	con	3,010000,1,057
	con	4,002000,2,10
	con	5,002000,1,1
	con	6,010000,6,115,123,055,104,117,123
	con	7,010000,10,115,123,055,104,117,123,057,063,070,066
	con	8,010000,4,117,123,057,062
	con	9,010000,13,115,123,040,127,151,156,144,157,167,163,040,116,124
	con	10,010000,1,134
	con	11,002000,1,8
	con	12,002000,1,2
	con	13,010000,9,115,141,143,151,156,164,157,163,150
	con	14,010000,1,072
	con	15,002000,2,15
	con	16,010000,26,147,145,164,164,145,170,164,072,040,040,117,123,040,156,157,164,040,163,165,160,160,157,162,164,145,144
	declend
	filen	adjuncts.icn
	line	37
	colm	11
	synt	any
	mark	L1
	pnull
	var	0
	var	1
	int	0
	line	40
	colm	25
	synt	any
	invoke	1
	line	40
	colm	18
	synt	any
	asgn
	unmark
lab L1
	mark	L2
	line	46
	colm	7
	synt	ifelse
	mark	L3
	var	2
	mark	L5
	str	1
	line	46
	colm	21
	synt	any
	esusp
	goto	L6
lab L5
	str	2
lab L6
	line	46
	colm	31
	synt	any
	keywd	features
	line	46
	colm	14
	synt	any
	invoke	2
	unmark
	mark	L7
	pnull
	var	3
	str	3
	line	47
	colm	17
	synt	any
	asgn
	unmark
lab L7
	mark	L8
	pnull
	var	4
	int	4
	line	48
	colm	19
	synt	any
	asgn
	unmark
lab L8
	pnull
	var	5
	int	5
	line	49
	colm	21
	synt	any
	asgn
	goto	L4
lab L3
	line	51
	colm	12
	synt	ifelse
	mark	L9
	var	2
	mark	L11
	str	6
	line	51
	colm	28
	synt	any
	esusp
	goto	L12
lab L11
	mark	L13
	str	7
	line	51
	colm	41
	synt	any
	esusp
	goto	L14
lab L13
	mark	L15
	str	8
	line	51
	colm	48
	synt	any
	esusp
	goto	L16
lab L15
	str	9
lab L16
lab L14
lab L12
	line	51
	colm	66
	synt	any
	keywd	features
	line	51
	colm	19
	synt	any
	invoke	2
	unmark
	mark	L17
	pnull
	var	3
	str	10
	line	52
	colm	17
	synt	any
	asgn
	unmark
lab L17
	mark	L18
	pnull
	var	4
	int	11
	line	53
	colm	19
	synt	any
	asgn
	unmark
lab L18
	pnull
	var	5
	int	12
	line	54
	colm	21
	synt	any
	asgn
	goto	L10
lab L9
	line	56
	colm	12
	synt	ifelse
	mark	L19
	var	2
	str	13
	line	56
	colm	33
	synt	any
	keywd	features
	line	56
	colm	19
	synt	any
	invoke	2
	unmark
	mark	L21
	pnull
	var	3
	str	14
	line	57
	colm	17
	synt	any
	asgn
	unmark
lab L21
	mark	L22
	pnull
	var	4
	int	15
	line	58
	colm	19
	synt	any
	asgn
	unmark
lab L22
	pnull
	var	5
	int	5
	line	59
	colm	21
	synt	any
	asgn
	goto	L20
lab L19
	var	6
	str	16
	line	61
	colm	16
	synt	any
	invoke	1
lab L20
	line	56
	colm	12
	synt	endifelse
lab L10
	line	51
	colm	12
	synt	endifelse
lab L4
	line	46
	colm	7
	synt	endifelse
	unmark
lab L2
	mark	L23
	mark	L24
	pnull
	line	62
	colm	7
	synt	any
	pret
lab L24
	synt	any
	pfail
	unmark
lab L23
	pnull
	line	63
	colm	1
	synt	any
	pfail
	end
proc Basename
	local	0,001000,s
	local	1,000000,tab
	local	2,000000,find
	local	3,000000,_slash
	con	0,002000,1,1
	con	1,002000,1,0
	declend
	line	65
	colm	11
	synt	any
	mark	L1
	var	0
	line	68
	colm	6
	synt	any
	bscan
	mark	L2
lab L3
	line	69
	colm	7
	synt	while
	mark0
	var	1
	pnull
	var	2
	var	3
	line	69
	colm	21
	synt	any
	invoke	1
	int	0
	line	69
	colm	29
	synt	any
	plus
	line	69
	colm	16
	synt	any
	invoke	1
lab L4
	unmark
	goto	L3
lab L5
	line	69
	colm	7
	synt	endwhile
	unmark
lab L2
	mark	L6
	var	1
	int	1
	line	70
	colm	17
	synt	any
	invoke	1
	line	70
	colm	7
	synt	any
	pret
lab L6
	synt	any
	pfail
	line	68
	colm	6
	synt	any
	escan
	unmark
lab L1
	pnull
	line	72
	colm	1
	synt	any
	pfail
	end
proc Pathname
	local	0,001000,s
	local	1,000020,s2
	local	2,000000,tab
	local	3,000000,find
	local	4,000000,_slash
	con	0,010000,0
	con	1,002000,1,1
	declend
	line	75
	colm	11
	synt	any
	mark	L1
	pnull
	var	1
	str	0
	line	80
	colm	7
	synt	any
	asgn
	unmark
lab L1
	mark	L2
	var	0
	line	81
	colm	6
	synt	any
	bscan
	mark	L3
lab L4
	line	82
	colm	7
	synt	while
	mark0
	pnull
	var	1
	dup
	var	2
	pnull
	var	3
	var	4
	line	82
	colm	29
	synt	any
	invoke	1
	int	1
	line	82
	colm	37
	synt	any
	plus
	line	82
	colm	24
	synt	any
	invoke	1
	line	82
	colm	16
	synt	any
	cat
	asgn
lab L5
	unmark
	goto	L4
lab L6
	line	82
	colm	7
	synt	endwhile
	unmark
lab L3
	mark	L7
	var	1
	line	83
	colm	7
	synt	any
	pret
lab L7
	synt	any
	pfail
	line	81
	colm	6
	synt	any
	escan
	unmark
lab L2
	pnull
	line	85
	colm	1
	synt	any
	pfail
	end
proc getidxname
	local	0,001000,FNAME
	local	1,000000,right
	local	2,000000,Strip
	local	3,000000,Basename
	local	4,000000,_slash
	local	5,000000,_baselen
	con	0,020000,1,056
	con	1,010000,1,170
	con	2,010000,4,056,111,104,130
	declend
	line	88
	colm	11
	synt	any
	mark	L1
	mark	L2
	pnull
	var	1
	var	2
	var	3
	var	0
	var	4
	line	97
	colm	31
	synt	any
	invoke	2
	cset	0
	line	97
	colm	22
	synt	any
	invoke	2
	var	5
	str	1
	line	97
	colm	16
	synt	any
	invoke	3
	str	2
	line	97
	colm	67
	synt	any
	cat
	line	97
	colm	4
	synt	any
	pret
lab L2
	synt	any
	pfail
	unmark
lab L1
	pnull
	line	98
	colm	1
	synt	any
	pfail
	end
proc Strip
	local	0,001000,s
	local	1,001000,c
	local	2,000020,s2
	local	3,000000,tab
	local	4,000000,upto
	local	5,000000,many
	con	0,010000,0
	con	1,002000,1,0
	declend
	line	101
	colm	11
	synt	any
	mark	L1
	pnull
	var	2
	str	0
	line	105
	colm	7
	synt	any
	asgn
	unmark
lab L1
	mark	L2
	var	0
	line	106
	colm	6
	synt	any
	bscan
	mark	L3
lab L4
	line	107
	colm	7
	synt	while
	mark0
	pnull
	var	2
	dup
	var	3
	var	4
	var	1
	line	107
	colm	29
	synt	any
	invoke	1
	line	107
	colm	24
	synt	any
	invoke	1
	line	107
	colm	16
	synt	any
	cat
	asgn
	unmark
	mark	L4
	var	3
	var	5
	var	1
	line	108
	colm	21
	synt	any
	invoke	1
	line	108
	colm	16
	synt	any
	invoke	1
lab L5
	unmark
	goto	L4
lab L6
	line	107
	colm	7
	synt	endwhile
	unmark
lab L3
	pnull
	var	2
	dup
	var	3
	int	1
	line	109
	colm	18
	synt	any
	invoke	1
	line	109
	colm	10
	synt	any
	cat
	asgn
	line	106
	colm	6
	synt	any
	escan
	unmark
lab L2
	mark	L7
	mark	L8
	var	2
	line	111
	colm	4
	synt	any
	pret
lab L8
	synt	any
	pfail
	unmark
lab L7
	pnull
	line	112
	colm	1
	synt	any
	pfail
	end
