version	U12.1.00
uid	rewrap.u1-1786032993-0
impl	error
global	2
	0,000005,rewrap,2
	1,000005,EndToFront,1

proc rewrap
	local	0,001000,s
	local	1,001000,i
	local	2,000020,extra_bit
	local	3,000020,line
	local	4,000040,old_line
	local	5,000000,tab
	local	6,000000,many
	local	7,000000,trim
	local	8,000000,any
	local	9,000000,EndToFront
	local	10,000000,upto
	con	0,010000,0
	con	1,002000,2,70
	con	2,020000,1,040
	con	3,002000,1,0
	con	4,010000,1,040
	con	5,020000,2,040,055
	con	6,002000,1,1
	con	7,010000,1,055
	declend
	filen	rewrap.icn
	line	84
	colm	11
	synt	any
lab L1
	init	L3
	mark	L2
	pnull
	var	4
	str	0
	line	88
	colm	22
	synt	any
	asgn
	unmark
lab L2
	einit	L1
lab L3
	mark	L4
	pnull
	pnull
	var	1
	line	91
	colm	5
	synt	any
	null
	int	1
	line	91
	colm	8
	synt	any
	asgn
	unmark
lab L4
	mark	L5
	line	93
	colm	5
	synt	if
	mark0
	pnull
	var	0
	line	93
	colm	8
	synt	any
	null
	unmark
	mark	L6
	pnull
	var	2
	var	4
	line	94
	colm	19
	synt	any
	asgn
	unmark
lab L6
	mark	L7
	pnull
	var	4
	str	0
	line	95
	colm	18
	synt	any
	asgn
	unmark
lab L7
	mark	L8
	pnull
	str	0
	var	2
	line	96
	colm	19
	synt	any
	lexne
	line	96
	colm	9
	synt	any
	pret
lab L8
	synt	any
	pfail
	line	93
	colm	5
	synt	endif
	unmark
lab L5
	mark	L9
	pnull
	var	0
	sdup
	line	100
	colm	7
	synt	any
	bscan
	mark	L10
	var	5
	var	6
	cset	2
	line	100
	colm	21
	synt	any
	invoke	1
	line	100
	colm	16
	synt	any
	invoke	1
	unmark
lab L10
	pnull
	var	4
	var	7
	var	5
	int	3
	line	100
	colm	49
	synt	any
	invoke	1
	line	100
	colm	45
	synt	any
	invoke	1
	line	100
	colm	38
	synt	any
	cat
	line	100
	colm	7
	synt	any
	escan
	asgn
	unmark
lab L9
	mark	L11
	line	103
	colm	5
	synt	if
	mark0
	pnull
	pnull
	var	0
	line	103
	colm	8
	synt	any
	size
	var	1
	line	103
	colm	11
	synt	any
	numlt
	unmark
	pnull
	var	4
	pnull
	var	0
	str	4
	line	103
	colm	34
	synt	any
	cat
	line	103
	colm	29
	synt	any
	asgn
	pop
	line	103
	colm	43
	synt	any
	pfail
	line	103
	colm	5
	synt	endif
	unmark
lab L11
	mark	L12
	var	0
	line	105
	colm	7
	synt	any
	bscan
	mark	L13
lab L14
	line	108
	colm	9
	synt	while
	mark0
	var	8
	cset	5
	pnull
	var	3
	var	9
	var	1
	line	108
	colm	42
	synt	any
	invoke	1
	line	108
	colm	29
	synt	any
	asgn
	pnull
	int	6
	line	108
	colm	46
	synt	any
	neg
	line	108
	colm	18
	synt	any
	invoke	3
	unmark
	mark	L14
	mark	L17
	pnull
	var	3
	sdup
	line	110
	colm	18
	synt	any
	bscan
	pushn1
	var	5
	var	6
	cset	2
	line	110
	colm	31
	synt	any
	invoke	1
	line	110
	colm	26
	synt	any
	invoke	1
	var	7
	var	5
	int	3
	line	110
	colm	47
	synt	any
	invoke	1
	line	110
	colm	43
	synt	any
	invoke	1
	line	110
	colm	22
	synt	any
	invoke	2
	line	110
	colm	18
	synt	any
	escan
	asgn
	unmark
lab L17
	line	111
	colm	13
	synt	ifelse
	mark	L18
	pnull
	pnull
	pnull
	pnull
	line	111
	colm	17
	synt	any
	keywd	subject
	line	111
	colm	16
	synt	any
	size
	line	111
	colm	28
	synt	any
	keywd	pos
	line	111
	colm	26
	synt	any
	minus
	pnull
	var	3
	line	111
	colm	35
	synt	any
	size
	line	111
	colm	33
	synt	any
	plus
	var	1
	line	111
	colm	41
	synt	any
	numgt
	unmark
	line	112
	colm	18
	synt	suspend
	mark0
	var	3
	line	112
	colm	18
	synt	any
	psusp
	pop
lab L20
	efail
lab L21
	line	112
	colm	18
	synt	endsuspend
	goto	L19
lab L18
	mark	L22
	pnull
	var	4
	str	0
	line	114
	colm	26
	synt	any
	asgn
	unmark
lab L22
	mark	L23
	pnull
	var	3
	var	5
	int	3
	line	115
	colm	35
	synt	any
	invoke	1
	line	115
	colm	29
	synt	any
	cat
	line	115
	colm	17
	synt	any
	pret
lab L23
	synt	any
	pfail
lab L19
	line	111
	colm	13
	synt	endifelse
lab L15
	unmark
	goto	L14
lab L16
	line	108
	colm	9
	synt	endwhile
	unmark
lab L13
	mark	L24
	pnull
	var	4
	var	5
	int	3
	line	120
	colm	24
	synt	any
	invoke	1
	line	120
	colm	18
	synt	any
	asgn
	unmark
lab L24
	line	125
	colm	9
	synt	ifelse
	mark	L25
	pnull
	pnull
	var	4
	line	125
	colm	12
	synt	any
	size
	var	1
	line	125
	colm	22
	synt	any
	numgt
	unmark
	var	4
	line	126
	colm	22
	synt	any
	bscan
	mark	L27
	line	127
	colm	17
	synt	ifelse
	mark	L28
	pnull
	var	2
	pnull
	var	5
	pnull
	var	10
	cset	5
	line	127
	colm	41
	synt	any
	invoke	1
	int	6
	line	127
	colm	47
	synt	any
	plus
	line	127
	colm	36
	synt	any
	invoke	1
	mark	L30
	var	5
	var	6
	cset	2
	line	127
	colm	63
	synt	any
	invoke	1
	line	127
	colm	58
	synt	any
	invoke	1
	line	127
	colm	70
	synt	any
	esusp
	goto	L31
lab L30
	str	0
lab L31
	line	127
	colm	51
	synt	any
	cat
	line	127
	colm	30
	synt	any
	asgn
	unmark
	pnull
	var	4
	var	5
	int	3
	line	128
	colm	37
	synt	any
	invoke	1
	line	128
	colm	31
	synt	any
	asgn
	goto	L29
lab L28
	pnull
	var	2
	var	4
	line	129
	colm	32
	synt	any
	asgn
	pop
	pnull
	var	4
	str	0
	line	129
	colm	55
	synt	any
	asgn
lab L29
	line	127
	colm	17
	synt	endifelse
	unmark
lab L27
	mark	L32
	var	7
	var	2
	line	130
	colm	28
	synt	any
	invoke	1
	line	130
	colm	17
	synt	any
	pret
lab L32
	synt	any
	pfail
	line	126
	colm	22
	synt	any
	escan
	goto	L26
lab L25
	line	137
	colm	13
	synt	if
	mark0
	pnull
	var	4
	str	0
	line	137
	colm	25
	synt	any
	lexne
	unmark
	line	140
	colm	17
	synt	if
	mark0
	pnull
	pnull
	var	4
	pnull
	int	6
	line	140
	colm	29
	synt	any
	neg
	line	140
	colm	28
	synt	any
	subsc
	str	7
	line	140
	colm	33
	synt	any
	lexne
	unmark
	pnull
	var	4
	dup
	str	4
	line	141
	colm	31
	synt	any
	cat
	asgn
	line	140
	colm	17
	synt	endif
	line	137
	colm	13
	synt	endif
lab L26
	line	125
	colm	9
	synt	endifelse
	line	105
	colm	7
	synt	any
	escan
	unmark
lab L12
	pnull
	line	146
	colm	1
	synt	any
	pfail
	end
proc EndToFront
	local	0,001000,i
	con	0,002000,1,1
	declend
	line	150
	colm	11
	synt	any
	mark	L1
	mark	L2
	pnull
	pnull
	pnull
	pnull
	line	152
	colm	6
	synt	any
	keywd	subject
	line	152
	colm	5
	synt	any
	size
	int	0
	line	152
	colm	14
	synt	any
	plus
	line	152
	colm	19
	synt	any
	keywd	pos
	line	152
	colm	17
	synt	any
	minus
	var	0
	line	152
	colm	24
	synt	any
	numge
	line	152
	colm	29
	synt	any
	esusp
	goto	L3
lab L2
	line	152
	colm	31
	synt	any
	pfail
lab L3
	unmark
lab L1
	mark	L4
	line	153
	colm	5
	synt	suspend
	mark0
	pnull
	line	153
	colm	13
	synt	any
	keywd	subject
	pnull
	line	153
	colm	23
	synt	any
	keywd	pos
	line	153
	colm	22
	synt	any
	value
	pnull
	line	153
	colm	28
	synt	any
	keywd	pos
	pnull
	pnull
	line	153
	colm	36
	synt	any
	keywd	pos
	var	0
	line	153
	colm	40
	synt	any
	plus
	line	153
	colm	46
	synt	any
	keywd	pos
	pnull
	int	0
	line	153
	colm	54
	synt	any
	neg
	line	153
	colm	43
	synt	any
	toby
	line	153
	colm	33
	synt	any
	rasgn
	line	153
	colm	27
	synt	any
	synt	any
	sect
	line	153
	colm	5
	synt	any
	psusp
	pop
lab L5
	efail
lab L6
	line	153
	colm	5
	synt	endsuspend
	unmark
lab L4
	pnull
	line	154
	colm	1
	synt	any
	pfail
	end
