version	U12.1.00
uid	gpxop.u1-1786033006-0
impl	error
link	gpxlib.u
global	8
	0,000005,LeftString,4
	1,000005,CenterString,4
	2,000005,RightString,4
	3,000005,ClearOutline,5
	4,000005,_Translate,5
	5,000005,Sweep,1
	6,000005,Zoom,-1
	7,000005,Capture,6

proc LeftString
	local	0,001000,win
	local	1,001000,x
	local	2,001000,y
	local	3,001000,s
	local	4,000040,type
	local	5,000000,proc
	local	6,000000,WAttrib
	local	7,000000,DrawString
	con	0,010000,4,164,171,160,145
	con	1,002000,1,0
	con	2,010000,6,167,151,156,144,157,167
	con	3,010000,6,141,163,143,145,156,164
	con	4,010000,7,144,145,163,143,145,156,164
	con	5,002000,1,2
	con	6,002000,1,1
	declend
	filen	gpxop.icn
	line	90
	colm	11
	synt	any
lab L1
	init	L3
	mark	L2
	pnull
	var	4
	var	5
	str	0
	int	1
	line	93
	colm	24
	synt	any
	invoke	2
	line	93
	colm	17
	synt	any
	asgn
	unmark
lab L2
	einit	L1
lab L3
	mark	L4
	line	94
	colm	4
	synt	if
	mark0
	pnull
	var	4
	var	0
	line	94
	colm	11
	synt	any
	invoke	1
	str	2
	line	94
	colm	17
	synt	any
	lexne
	unmark
	mark	L5
	pnull
	var	0
	pnull
	var	1
	pnull
	var	2
	var	3
	line	95
	colm	23
	synt	any
	swap
	line	95
	colm	17
	synt	any
	swap
	line	95
	colm	11
	synt	any
	swap
	unmark
lab L5
	pnull
	var	0
	line	96
	colm	14
	synt	any
	keywd	window
	line	96
	colm	11
	synt	any
	asgn
	line	94
	colm	4
	synt	endif
	unmark
lab L4
	mark	L6
	pnull
	var	2
	dup
	pnull
	pnull
	pnull
	var	6
	var	0
	str	3
	line	98
	colm	18
	synt	any
	invoke	2
	var	6
	var	0
	str	4
	line	98
	colm	43
	synt	any
	invoke	2
	line	98
	colm	34
	synt	any
	minus
	int	5
	line	98
	colm	61
	synt	any
	div
	int	6
	line	98
	colm	65
	synt	any
	plus
	line	98
	colm	6
	synt	any
	plus
	asgn
	unmark
lab L6
	mark	L7
	mark	L8
	var	7
	var	0
	var	1
	var	2
	var	3
	line	99
	colm	21
	synt	any
	invoke	4
	line	99
	colm	4
	synt	any
	pret
lab L8
	synt	any
	pfail
	unmark
lab L7
	pnull
	line	100
	colm	1
	synt	any
	pfail
	end
proc CenterString
	local	0,001000,win
	local	1,001000,x
	local	2,001000,y
	local	3,001000,s
	local	4,000040,type
	local	5,000000,proc
	local	6,000000,TextWidth
	local	7,000000,WAttrib
	local	8,000000,DrawString
	con	0,010000,4,164,171,160,145
	con	1,002000,1,0
	con	2,010000,6,167,151,156,144,157,167
	con	3,002000,1,2
	con	4,010000,6,141,163,143,145,156,164
	con	5,010000,7,144,145,163,143,145,156,164
	con	6,002000,1,1
	declend
	line	105
	colm	11
	synt	any
lab L1
	init	L3
	mark	L2
	pnull
	var	4
	var	5
	str	0
	int	1
	line	108
	colm	24
	synt	any
	invoke	2
	line	108
	colm	17
	synt	any
	asgn
	unmark
lab L2
	einit	L1
lab L3
	mark	L4
	line	109
	colm	4
	synt	if
	mark0
	pnull
	var	4
	var	0
	line	109
	colm	11
	synt	any
	invoke	1
	str	2
	line	109
	colm	17
	synt	any
	lexne
	unmark
	mark	L5
	pnull
	var	0
	pnull
	var	1
	pnull
	var	2
	var	3
	line	110
	colm	23
	synt	any
	swap
	line	110
	colm	17
	synt	any
	swap
	line	110
	colm	11
	synt	any
	swap
	unmark
lab L5
	pnull
	var	0
	line	111
	colm	14
	synt	any
	keywd	window
	line	111
	colm	11
	synt	any
	asgn
	line	109
	colm	4
	synt	endif
	unmark
lab L4
	mark	L6
	pnull
	var	1
	dup
	pnull
	var	6
	var	0
	var	3
	line	113
	colm	19
	synt	any
	invoke	2
	int	3
	line	113
	colm	28
	synt	any
	div
	line	113
	colm	6
	synt	any
	minus
	asgn
	unmark
lab L6
	mark	L7
	pnull
	var	2
	dup
	pnull
	pnull
	pnull
	var	7
	var	0
	str	4
	line	114
	colm	18
	synt	any
	invoke	2
	var	7
	var	0
	str	5
	line	114
	colm	43
	synt	any
	invoke	2
	line	114
	colm	34
	synt	any
	minus
	int	3
	line	114
	colm	61
	synt	any
	div
	int	6
	line	114
	colm	65
	synt	any
	plus
	line	114
	colm	6
	synt	any
	plus
	asgn
	unmark
lab L7
	mark	L8
	mark	L9
	var	8
	var	0
	var	1
	var	2
	var	3
	line	115
	colm	21
	synt	any
	invoke	4
	line	115
	colm	4
	synt	any
	pret
lab L9
	synt	any
	pfail
	unmark
lab L8
	pnull
	line	116
	colm	1
	synt	any
	pfail
	end
proc RightString
	local	0,001000,win
	local	1,001000,x
	local	2,001000,y
	local	3,001000,s
	local	4,000040,type
	local	5,000000,proc
	local	6,000000,TextWidth
	local	7,000000,WAttrib
	local	8,000000,DrawString
	con	0,010000,4,164,171,160,145
	con	1,002000,1,0
	con	2,010000,6,167,151,156,144,157,167
	con	3,010000,6,141,163,143,145,156,164
	con	4,010000,7,144,145,163,143,145,156,164
	con	5,002000,1,2
	con	6,002000,1,1
	declend
	line	121
	colm	11
	synt	any
lab L1
	init	L3
	mark	L2
	pnull
	var	4
	var	5
	str	0
	int	1
	line	124
	colm	24
	synt	any
	invoke	2
	line	124
	colm	17
	synt	any
	asgn
	unmark
lab L2
	einit	L1
lab L3
	mark	L4
	line	125
	colm	4
	synt	if
	mark0
	pnull
	var	4
	var	0
	line	125
	colm	11
	synt	any
	invoke	1
	str	2
	line	125
	colm	17
	synt	any
	lexne
	unmark
	mark	L5
	pnull
	var	0
	pnull
	var	1
	pnull
	var	2
	var	3
	line	126
	colm	23
	synt	any
	swap
	line	126
	colm	17
	synt	any
	swap
	line	126
	colm	11
	synt	any
	swap
	unmark
lab L5
	pnull
	var	0
	line	127
	colm	14
	synt	any
	keywd	window
	line	127
	colm	11
	synt	any
	asgn
	line	125
	colm	4
	synt	endif
	unmark
lab L4
	mark	L6
	pnull
	var	1
	dup
	var	6
	var	0
	var	3
	line	129
	colm	19
	synt	any
	invoke	2
	line	129
	colm	6
	synt	any
	minus
	asgn
	unmark
lab L6
	mark	L7
	pnull
	var	2
	dup
	pnull
	pnull
	pnull
	var	7
	var	0
	str	3
	line	130
	colm	18
	synt	any
	invoke	2
	var	7
	var	0
	str	4
	line	130
	colm	43
	synt	any
	invoke	2
	line	130
	colm	34
	synt	any
	minus
	int	5
	line	130
	colm	61
	synt	any
	div
	int	6
	line	130
	colm	65
	synt	any
	plus
	line	130
	colm	6
	synt	any
	plus
	asgn
	unmark
lab L7
	mark	L8
	mark	L9
	var	8
	var	0
	var	1
	var	2
	var	3
	line	131
	colm	21
	synt	any
	invoke	4
	line	131
	colm	4
	synt	any
	pret
lab L9
	synt	any
	pfail
	unmark
lab L8
	pnull
	line	132
	colm	1
	synt	any
	pfail
	end
proc ClearOutline
	local	0,001000,win
	local	1,001000,x
	local	2,001000,y
	local	3,001000,w
	local	4,001000,h
	local	5,000040,type
	local	6,000000,proc
	local	7,000000,WAttrib
	local	8,000000,DrawRectangle
	local	9,000000,EraseArea
	con	0,010000,4,164,171,160,145
	con	1,002000,1,0
	con	2,010000,6,167,151,156,144,157,167
	con	3,010000,2,144,170
	con	4,010000,2,144,171
	con	5,010000,5,167,151,144,164,150
	con	6,010000,6,150,145,151,147,150,164
	con	7,002000,1,1
	declend
	line	137
	colm	11
	synt	any
lab L1
	init	L3
	mark	L2
	pnull
	var	5
	var	6
	str	0
	int	1
	line	140
	colm	24
	synt	any
	invoke	2
	line	140
	colm	17
	synt	any
	asgn
	unmark
lab L2
	einit	L1
lab L3
	mark	L4
	line	141
	colm	4
	synt	if
	mark0
	pnull
	var	5
	var	0
	line	141
	colm	11
	synt	any
	invoke	1
	str	2
	line	141
	colm	17
	synt	any
	lexne
	unmark
	mark	L5
	pnull
	var	0
	pnull
	var	1
	pnull
	var	2
	pnull
	var	3
	var	4
	line	142
	colm	29
	synt	any
	swap
	line	142
	colm	23
	synt	any
	swap
	line	142
	colm	17
	synt	any
	swap
	line	142
	colm	11
	synt	any
	swap
	unmark
lab L5
	pnull
	var	0
	line	143
	colm	14
	synt	any
	keywd	window
	line	143
	colm	11
	synt	any
	asgn
	line	141
	colm	4
	synt	endif
	unmark
lab L4
	mark	L6
	pnull
	pnull
	var	1
	line	146
	colm	4
	synt	any
	null
	pnull
	var	7
	var	0
	str	3
	line	146
	colm	18
	synt	any
	invoke	2
	line	146
	colm	10
	synt	any
	neg
	line	146
	colm	7
	synt	any
	asgn
	unmark
lab L6
	mark	L7
	pnull
	pnull
	var	2
	line	147
	colm	4
	synt	any
	null
	pnull
	var	7
	var	0
	str	4
	line	147
	colm	18
	synt	any
	invoke	2
	line	147
	colm	10
	synt	any
	neg
	line	147
	colm	7
	synt	any
	asgn
	unmark
lab L7
	mark	L8
	pnull
	pnull
	var	3
	line	148
	colm	4
	synt	any
	null
	pnull
	var	7
	var	0
	str	5
	line	148
	colm	17
	synt	any
	invoke	2
	pnull
	var	1
	var	7
	var	0
	str	3
	line	148
	colm	46
	synt	any
	invoke	2
	line	148
	colm	37
	synt	any
	plus
	line	148
	colm	32
	synt	any
	minus
	line	148
	colm	7
	synt	any
	asgn
	unmark
lab L8
	mark	L9
	pnull
	pnull
	var	4
	line	149
	colm	4
	synt	any
	null
	pnull
	var	7
	var	0
	str	6
	line	149
	colm	17
	synt	any
	invoke	2
	pnull
	var	2
	var	7
	var	0
	str	4
	line	149
	colm	47
	synt	any
	invoke	2
	line	149
	colm	38
	synt	any
	plus
	line	149
	colm	33
	synt	any
	minus
	line	149
	colm	7
	synt	any
	asgn
	unmark
lab L9
	mark	L10
	line	151
	colm	4
	synt	if
	mark0
	pnull
	var	3
	int	1
	line	151
	colm	9
	synt	any
	numlt
	unmark
	pnull
	var	1
	dup
	pnull
	var	3
	pnull
	var	3
	line	152
	colm	19
	synt	any
	neg
	line	152
	colm	16
	synt	any
	asgn
	line	152
	colm	9
	synt	any
	minus
	asgn
	line	151
	colm	4
	synt	endif
	unmark
lab L10
	mark	L11
	line	153
	colm	4
	synt	if
	mark0
	pnull
	var	4
	int	1
	line	153
	colm	9
	synt	any
	numlt
	unmark
	pnull
	var	2
	dup
	pnull
	var	4
	pnull
	var	4
	line	154
	colm	19
	synt	any
	neg
	line	154
	colm	16
	synt	any
	asgn
	line	154
	colm	9
	synt	any
	minus
	asgn
	line	153
	colm	4
	synt	endif
	unmark
lab L11
	mark	L12
	var	8
	var	0
	var	1
	var	2
	var	3
	var	4
	line	156
	colm	17
	synt	any
	invoke	5
	unmark
lab L12
	mark	L13
	var	9
	var	0
	pnull
	var	1
	int	7
	line	157
	colm	20
	synt	any
	plus
	pnull
	var	2
	int	7
	line	157
	colm	25
	synt	any
	plus
	pnull
	var	3
	int	7
	line	157
	colm	30
	synt	any
	minus
	pnull
	var	4
	int	7
	line	157
	colm	35
	synt	any
	minus
	line	157
	colm	13
	synt	any
	invoke	5
	unmark
lab L13
	mark	L14
	mark	L15
	var	0
	line	158
	colm	4
	synt	any
	pret
lab L15
	synt	any
	pfail
	unmark
lab L14
	pnull
	line	159
	colm	1
	synt	any
	pfail
	end
proc _Translate
	local	0,001000,win
	local	1,001000,dx
	local	2,001000,dy
	local	3,001000,w
	local	4,001000,h
	local	5,000040,type
	local	6,000000,proc
	local	7,000000,WAttrib
	local	8,000000,Clip
	con	0,010000,4,164,171,160,145
	con	1,002000,1,0
	con	2,010000,6,167,151,156,144,157,167
	con	3,010000,3,144,170,075
	con	4,010000,2,144,170
	con	5,010000,3,144,171,075
	con	6,010000,2,144,171
	declend
	line	165
	colm	11
	synt	any
lab L1
	init	L3
	mark	L2
	pnull
	var	5
	var	6
	str	0
	int	1
	line	168
	colm	24
	synt	any
	invoke	2
	line	168
	colm	17
	synt	any
	asgn
	unmark
lab L2
	einit	L1
lab L3
	mark	L4
	line	169
	colm	4
	synt	if
	mark0
	pnull
	var	5
	var	0
	line	169
	colm	11
	synt	any
	invoke	1
	str	2
	line	169
	colm	17
	synt	any
	lexne
	unmark
	mark	L5
	pnull
	var	0
	pnull
	var	1
	pnull
	var	2
	pnull
	var	3
	var	4
	line	170
	colm	31
	synt	any
	swap
	line	170
	colm	25
	synt	any
	swap
	line	170
	colm	18
	synt	any
	swap
	line	170
	colm	11
	synt	any
	swap
	unmark
lab L5
	pnull
	var	0
	line	171
	colm	14
	synt	any
	keywd	window
	line	171
	colm	11
	synt	any
	asgn
	line	169
	colm	4
	synt	endif
	unmark
lab L4
	mark	L6
	var	7
	var	0
	pnull
	str	3
	pnull
	var	7
	var	0
	str	4
	line	173
	colm	33
	synt	any
	invoke	2
	var	1
	line	173
	colm	43
	synt	any
	plus
	line	173
	colm	23
	synt	any
	cat
	pnull
	str	5
	pnull
	var	7
	var	0
	str	6
	line	173
	colm	64
	synt	any
	invoke	2
	var	2
	line	173
	colm	74
	synt	any
	plus
	line	173
	colm	54
	synt	any
	cat
	line	173
	colm	11
	synt	any
	invoke	3
	unmark
lab L6
	mark	L7
	var	8
	var	0
	int	1
	int	1
	pnull
	var	3
	line	174
	colm	20
	synt	any
	nonnull
	pnull
	var	4
	line	174
	colm	24
	synt	any
	nonnull
	line	174
	colm	8
	synt	any
	invoke	5
	unmark
lab L7
	mark	L8
	mark	L9
	var	0
	line	175
	colm	4
	synt	any
	pret
lab L9
	synt	any
	pfail
	unmark
lab L8
	pnull
	line	176
	colm	1
	synt	any
	pfail
	end
proc Sweep
	local	0,001000,win
	local	1,000020,x
	local	2,000020,y
	local	3,000020,w
	local	4,000020,h
	local	5,000020,wmin
	local	6,000020,wmax
	local	7,000020,hmin
	local	8,000020,hmax
	local	9,000000,Clone
	local	10,000000,WAttrib
	local	11,000000,DrawRectangle
	local	12,000000,Event
	local	13,000000,Uncouple
	con	0,010000,14,144,162,141,167,157,160,075,162,145,166,145,162,163,145
	con	1,002000,1,0
	con	2,010000,2,144,170
	con	3,010000,2,144,171
	con	4,010000,5,167,151,144,164,150
	con	5,002000,1,1
	con	6,010000,6,150,145,151,147,150,164
	declend
	line	181
	colm	11
	synt	any
	mark	L1
	pnull
	pnull
	var	0
	line	184
	colm	4
	synt	any
	null
	line	184
	colm	12
	synt	any
	keywd	window
	line	184
	colm	9
	synt	any
	asgn
	unmark
lab L1
	mark	L2
	pnull
	var	0
	var	9
	var	0
	str	0
	line	185
	colm	16
	synt	any
	invoke	2
	line	185
	colm	8
	synt	any
	asgn
	unmark
lab L2
	mark	L3
	pnull
	var	1
	line	187
	colm	9
	synt	any
	keywd	x
	line	187
	colm	6
	synt	any
	asgn
	unmark
lab L3
	mark	L4
	pnull
	var	2
	line	188
	colm	9
	synt	any
	keywd	y
	line	188
	colm	6
	synt	any
	asgn
	unmark
lab L4
	mark	L5
	pnull
	var	3
	pnull
	var	4
	int	1
	line	189
	colm	11
	synt	any
	asgn
	line	189
	colm	6
	synt	any
	asgn
	unmark
lab L5
	mark	L6
	pnull
	var	5
	pnull
	pnull
	var	10
	var	0
	str	2
	line	191
	colm	20
	synt	any
	invoke	2
	line	191
	colm	12
	synt	any
	neg
	var	1
	line	191
	colm	32
	synt	any
	minus
	line	191
	colm	9
	synt	any
	asgn
	unmark
lab L6
	mark	L7
	pnull
	var	7
	pnull
	pnull
	var	10
	var	0
	str	3
	line	192
	colm	20
	synt	any
	invoke	2
	line	192
	colm	12
	synt	any
	neg
	var	2
	line	192
	colm	32
	synt	any
	minus
	line	192
	colm	9
	synt	any
	asgn
	unmark
lab L7
	mark	L8
	pnull
	var	6
	pnull
	pnull
	var	5
	var	10
	var	0
	str	4
	line	193
	colm	26
	synt	any
	invoke	2
	line	193
	colm	17
	synt	any
	plus
	int	5
	line	193
	colm	41
	synt	any
	minus
	line	193
	colm	9
	synt	any
	asgn
	unmark
lab L8
	mark	L9
	pnull
	var	8
	pnull
	pnull
	var	7
	var	10
	var	0
	str	6
	line	194
	colm	26
	synt	any
	invoke	2
	line	194
	colm	17
	synt	any
	plus
	int	5
	line	194
	colm	42
	synt	any
	minus
	line	194
	colm	9
	synt	any
	asgn
	unmark
lab L9
	mark	L10
	var	11
	var	0
	var	1
	var	2
	var	3
	var	4
	line	196
	colm	17
	synt	any
	invoke	5
	unmark
lab L10
	mark	L11
lab L12
	line	197
	colm	4
	synt	until
	mark	L13
	pnull
	var	12
	var	0
	line	197
	colm	15
	synt	any
	invoke	1
	mark	L16
	line	197
	colm	26
	synt	any
	keywd	lrelease
	line	197
	colm	36
	synt	any
	esusp
	goto	L17
lab L16
	mark	L18
	line	197
	colm	38
	synt	any
	keywd	mrelease
	line	197
	colm	48
	synt	any
	esusp
	goto	L19
lab L18
	line	197
	colm	50
	synt	any
	keywd	rrelease
lab L19
lab L17
	line	197
	colm	21
	synt	any
	eqv
	unmark
	efail
lab L13
	mark	L12
	mark	L20
	var	11
	var	0
	var	1
	var	2
	var	3
	var	4
	line	198
	colm	20
	synt	any
	invoke	5
	unmark
lab L20
	mark	L21
	pnull
	var	3
	pnull
	line	199
	colm	12
	synt	any
	keywd	x
	var	1
	line	199
	colm	15
	synt	any
	minus
	line	199
	colm	9
	synt	any
	asgn
	unmark
lab L21
	mark	L22
	pnull
	var	4
	pnull
	line	200
	colm	12
	synt	any
	keywd	y
	var	2
	line	200
	colm	15
	synt	any
	minus
	line	200
	colm	9
	synt	any
	asgn
	unmark
lab L22
	mark	L23
	pnull
	var	3
	dup
	var	5
	line	201
	colm	9
	synt	any
	numlt
	asgn
	unmark
lab L23
	mark	L24
	pnull
	var	3
	dup
	var	6
	line	202
	colm	9
	synt	any
	numgt
	asgn
	unmark
lab L24
	mark	L25
	pnull
	var	4
	dup
	var	7
	line	203
	colm	9
	synt	any
	numlt
	asgn
	unmark
lab L25
	mark	L26
	pnull
	var	4
	dup
	var	8
	line	204
	colm	9
	synt	any
	numgt
	asgn
	unmark
lab L26
	var	11
	var	0
	var	1
	var	2
	var	3
	var	4
	line	205
	colm	20
	synt	any
	invoke	5
lab L14
	unmark
	goto	L12
lab L15
	line	197
	colm	4
	synt	enduntil
	unmark
lab L11
	mark	L27
	var	11
	var	0
	var	1
	var	2
	var	3
	var	4
	line	207
	colm	17
	synt	any
	invoke	5
	unmark
lab L27
	mark	L28
	line	209
	colm	4
	synt	if
	mark0
	pnull
	var	3
	int	1
	line	209
	colm	9
	synt	any
	numlt
	unmark
	pnull
	var	1
	dup
	pnull
	var	3
	pnull
	var	3
	line	209
	colm	30
	synt	any
	neg
	line	209
	colm	27
	synt	any
	asgn
	line	209
	colm	20
	synt	any
	minus
	asgn
	line	209
	colm	4
	synt	endif
	unmark
lab L28
	mark	L29
	line	210
	colm	4
	synt	if
	mark0
	pnull
	var	4
	int	1
	line	210
	colm	9
	synt	any
	numlt
	unmark
	pnull
	var	2
	dup
	pnull
	var	4
	pnull
	var	4
	line	210
	colm	30
	synt	any
	neg
	line	210
	colm	27
	synt	any
	asgn
	line	210
	colm	20
	synt	any
	minus
	asgn
	line	210
	colm	4
	synt	endif
	unmark
lab L29
	mark	L30
	var	13
	var	0
	line	212
	colm	12
	synt	any
	invoke	1
	unmark
lab L30
	mark	L31
	mark	L32
	pnull
	var	1
	var	2
	pnull
	var	3
	int	5
	line	213
	colm	20
	synt	any
	plus
	pnull
	var	4
	int	5
	line	213
	colm	27
	synt	any
	plus
	line	213
	colm	11
	synt	any
	llist	4
	line	213
	colm	4
	synt	any
	pret
lab L32
	synt	any
	pfail
	unmark
lab L31
	pnull
	line	214
	colm	1
	synt	any
	pfail
	end
proc Zoom
	local	0,001000,args
	local	1,000020,win1
	local	2,000020,x1
	local	3,000020,y1
	local	4,000020,w1
	local	5,000020,h1
	local	6,000020,win2
	local	7,000020,x2
	local	8,000020,y2
	local	9,000020,w2
	local	10,000020,h2
	local	11,000020,x
	local	12,000020,y
	local	13,000020,scr
	local	14,000040,type
	local	15,000000,proc
	local	16,000000,get
	local	17,000000,runerr
	local	18,000000,WAttrib
	local	19,000000,ScratchCanvas
	local	20,000000,CopyArea
	local	21,000000,EraseArea
	con	0,010000,4,164,171,160,145
	con	1,002000,1,0
	con	2,002000,1,1
	con	3,010000,6,167,151,156,144,157,167
	con	4,002000,3,140
	con	5,010000,2,144,170
	con	6,010000,2,144,171
	con	7,010000,5,167,151,144,164,150
	con	8,010000,6,150,145,151,147,150,164
	con	9,010000,8,137,137,132,157,157,155,137,137
	con	10,004000,0.5
	declend
	line	219
	colm	11
	synt	any
lab L1
	init	L3
	mark	L2
	pnull
	var	14
	var	15
	str	0
	int	1
	line	225
	colm	24
	synt	any
	invoke	2
	line	225
	colm	17
	synt	any
	asgn
	unmark
lab L2
	einit	L1
lab L3
	mark	L4
	line	227
	colm	4
	synt	ifelse
	mark	L5
	pnull
	var	14
	pnull
	var	0
	int	2
	line	227
	colm	16
	synt	any
	subsc
	line	227
	colm	11
	synt	any
	invoke	1
	str	3
	line	227
	colm	21
	synt	any
	lexeq
	unmark
	pnull
	var	1
	var	16
	var	0
	line	228
	colm	18
	synt	any
	invoke	1
	line	228
	colm	12
	synt	any
	asgn
	goto	L6
lab L5
	pnull
	var	1
	mark	L7
	pnull
	line	230
	colm	16
	synt	any
	keywd	window
	line	230
	colm	15
	synt	any
	nonnull
	line	230
	colm	24
	synt	any
	esusp
	goto	L8
lab L7
	var	17
	int	4
	line	230
	colm	38
	synt	any
	keywd	window
	line	230
	colm	32
	synt	any
	invoke	2
lab L8
	line	230
	colm	12
	synt	any
	asgn
lab L6
	line	227
	colm	4
	synt	endifelse
	unmark
lab L4
	mark	L9
	line	231
	colm	4
	synt	ifelse
	mark	L10
	pnull
	var	14
	pnull
	var	0
	int	2
	line	231
	colm	16
	synt	any
	subsc
	line	231
	colm	11
	synt	any
	invoke	1
	str	3
	line	231
	colm	21
	synt	any
	lexeq
	unmark
	pnull
	var	6
	var	16
	var	0
	line	232
	colm	18
	synt	any
	invoke	1
	line	232
	colm	12
	synt	any
	asgn
	goto	L11
lab L10
	pnull
	var	6
	var	1
	line	234
	colm	12
	synt	any
	asgn
lab L11
	line	231
	colm	4
	synt	endifelse
	unmark
lab L9
	mark	L12
	pnull
	var	2
	mark	L13
	pnull
	var	16
	var	0
	line	236
	colm	14
	synt	any
	invoke	1
	line	236
	colm	10
	synt	any
	nonnull
	line	236
	colm	21
	synt	any
	esusp
	goto	L14
lab L13
	pnull
	var	18
	var	1
	str	5
	line	236
	colm	31
	synt	any
	invoke	2
	line	236
	colm	23
	synt	any
	neg
lab L14
	line	236
	colm	7
	synt	any
	asgn
	unmark
lab L12
	mark	L15
	pnull
	var	3
	mark	L16
	pnull
	var	16
	var	0
	line	237
	colm	14
	synt	any
	invoke	1
	line	237
	colm	10
	synt	any
	nonnull
	line	237
	colm	21
	synt	any
	esusp
	goto	L17
lab L16
	pnull
	var	18
	var	1
	str	6
	line	237
	colm	31
	synt	any
	invoke	2
	line	237
	colm	23
	synt	any
	neg
lab L17
	line	237
	colm	7
	synt	any
	asgn
	unmark
lab L15
	mark	L18
	pnull
	var	4
	mark	L19
	pnull
	var	16
	var	0
	line	238
	colm	14
	synt	any
	invoke	1
	line	238
	colm	10
	synt	any
	nonnull
	line	238
	colm	21
	synt	any
	esusp
	goto	L20
lab L19
	pnull
	var	18
	var	1
	str	7
	line	238
	colm	30
	synt	any
	invoke	2
	pnull
	var	2
	var	18
	var	1
	str	5
	line	238
	colm	61
	synt	any
	invoke	2
	line	238
	colm	52
	synt	any
	plus
	line	238
	colm	46
	synt	any
	minus
lab L20
	line	238
	colm	7
	synt	any
	asgn
	unmark
lab L18
	mark	L21
	pnull
	var	5
	mark	L22
	pnull
	var	16
	var	0
	line	239
	colm	14
	synt	any
	invoke	1
	line	239
	colm	10
	synt	any
	nonnull
	line	239
	colm	21
	synt	any
	esusp
	goto	L23
lab L22
	pnull
	var	18
	var	1
	str	8
	line	239
	colm	30
	synt	any
	invoke	2
	pnull
	var	3
	var	18
	var	1
	str	6
	line	239
	colm	62
	synt	any
	invoke	2
	line	239
	colm	53
	synt	any
	plus
	line	239
	colm	47
	synt	any
	minus
lab L23
	line	239
	colm	7
	synt	any
	asgn
	unmark
lab L21
	mark	L24
	line	240
	colm	4
	synt	if
	mark0
	pnull
	var	4
	int	1
	line	240
	colm	10
	synt	any
	numlt
	unmark
	pnull
	var	2
	dup
	pnull
	var	4
	pnull
	var	4
	line	241
	colm	21
	synt	any
	neg
	line	241
	colm	18
	synt	any
	asgn
	line	241
	colm	10
	synt	any
	minus
	asgn
	line	240
	colm	4
	synt	endif
	unmark
lab L24
	mark	L25
	line	242
	colm	4
	synt	if
	mark0
	pnull
	var	5
	int	1
	line	242
	colm	10
	synt	any
	numlt
	unmark
	pnull
	var	3
	dup
	pnull
	var	5
	pnull
	var	5
	line	243
	colm	21
	synt	any
	neg
	line	243
	colm	18
	synt	any
	asgn
	line	243
	colm	10
	synt	any
	minus
	asgn
	line	242
	colm	4
	synt	endif
	unmark
lab L25
	mark	L26
	pnull
	var	7
	mark	L27
	pnull
	var	16
	var	0
	line	245
	colm	14
	synt	any
	invoke	1
	line	245
	colm	10
	synt	any
	nonnull
	line	245
	colm	21
	synt	any
	esusp
	goto	L28
lab L27
	pnull
	var	18
	var	6
	str	5
	line	245
	colm	31
	synt	any
	invoke	2
	line	245
	colm	23
	synt	any
	neg
lab L28
	line	245
	colm	7
	synt	any
	asgn
	unmark
lab L26
	mark	L29
	pnull
	var	8
	mark	L30
	pnull
	var	16
	var	0
	line	246
	colm	14
	synt	any
	invoke	1
	line	246
	colm	10
	synt	any
	nonnull
	line	246
	colm	21
	synt	any
	esusp
	goto	L31
lab L30
	pnull
	var	18
	var	6
	str	6
	line	246
	colm	31
	synt	any
	invoke	2
	line	246
	colm	23
	synt	any
	neg
lab L31
	line	246
	colm	7
	synt	any
	asgn
	unmark
lab L29
	mark	L32
	pnull
	var	9
	mark	L33
	pnull
	var	16
	var	0
	line	247
	colm	14
	synt	any
	invoke	1
	line	247
	colm	10
	synt	any
	nonnull
	line	247
	colm	21
	synt	any
	esusp
	goto	L34
lab L33
	pnull
	var	18
	var	6
	str	7
	line	247
	colm	30
	synt	any
	invoke	2
	pnull
	var	7
	var	18
	var	6
	str	5
	line	247
	colm	61
	synt	any
	invoke	2
	line	247
	colm	52
	synt	any
	plus
	line	247
	colm	46
	synt	any
	minus
lab L34
	line	247
	colm	7
	synt	any
	asgn
	unmark
lab L32
	mark	L35
	pnull
	var	10
	mark	L36
	pnull
	var	16
	var	0
	line	248
	colm	14
	synt	any
	invoke	1
	line	248
	colm	10
	synt	any
	nonnull
	line	248
	colm	21
	synt	any
	esusp
	goto	L37
lab L36
	pnull
	var	18
	var	6
	str	8
	line	248
	colm	30
	synt	any
	invoke	2
	pnull
	var	8
	var	18
	var	6
	str	6
	line	248
	colm	62
	synt	any
	invoke	2
	line	248
	colm	53
	synt	any
	plus
	line	248
	colm	47
	synt	any
	minus
lab L37
	line	248
	colm	7
	synt	any
	asgn
	unmark
lab L35
	mark	L38
	line	249
	colm	4
	synt	if
	mark0
	pnull
	var	9
	int	1
	line	249
	colm	10
	synt	any
	numlt
	unmark
	pnull
	var	7
	dup
	pnull
	var	9
	pnull
	var	9
	line	250
	colm	21
	synt	any
	neg
	line	250
	colm	18
	synt	any
	asgn
	line	250
	colm	10
	synt	any
	minus
	asgn
	line	249
	colm	4
	synt	endif
	unmark
lab L38
	mark	L39
	line	251
	colm	4
	synt	if
	mark0
	pnull
	var	10
	int	1
	line	251
	colm	10
	synt	any
	numlt
	unmark
	pnull
	var	8
	dup
	pnull
	var	10
	pnull
	var	10
	line	252
	colm	21
	synt	any
	neg
	line	252
	colm	18
	synt	any
	asgn
	line	252
	colm	10
	synt	any
	minus
	asgn
	line	251
	colm	4
	synt	endif
	unmark
lab L39
	mark	L40
	line	254
	colm	4
	synt	if
	mark0
	mark	L41
	pnull
	var	4
	int	1
	line	254
	colm	10
	synt	any
	numeq
	line	254
	colm	14
	synt	any
	esusp
	goto	L42
lab L41
	mark	L43
	pnull
	var	9
	int	1
	line	254
	colm	19
	synt	any
	numeq
	line	254
	colm	23
	synt	any
	esusp
	goto	L44
lab L43
	mark	L45
	pnull
	var	5
	int	1
	line	254
	colm	28
	synt	any
	numeq
	line	254
	colm	32
	synt	any
	esusp
	goto	L46
lab L45
	pnull
	var	10
	int	1
	line	254
	colm	37
	synt	any
	numeq
lab L46
lab L44
lab L42
	unmark
	mark	L47
	pnull
	line	255
	colm	7
	synt	any
	pret
lab L47
	synt	any
	pfail
	line	254
	colm	4
	synt	endif
	unmark
lab L40
	mark	L48
	pnull
	var	13
	mark	L49
	var	19
	var	6
	var	9
	var	5
	str	9
	line	257
	colm	24
	synt	any
	invoke	4
	line	257
	colm	51
	synt	any
	esusp
	goto	L50
lab L49
	line	257
	colm	53
	synt	any
	pfail
lab L50
	line	257
	colm	8
	synt	any
	asgn
	unmark
lab L48
	mark	L51
	line	258
	colm	4
	synt	every
	mark0
	pnull
	var	11
	pnull
	int	1
	pnull
	var	9
	int	2
	line	258
	colm	23
	synt	any
	minus
	push1
	line	258
	colm	17
	synt	any
	toby
	line	258
	colm	12
	synt	any
	asgn
	pop
	mark0
	var	20
	var	1
	var	13
	pnull
	var	2
	pnull
	var	4
	pnull
	pnull
	var	11
	real	10
	line	259
	colm	41
	synt	any
	plus
	var	9
	line	259
	colm	48
	synt	any
	div
	line	259
	colm	35
	synt	any
	mult
	line	259
	colm	30
	synt	any
	plus
	var	3
	int	2
	var	5
	var	11
	int	1
	line	259
	colm	15
	synt	any
	invoke	8
	unmark
lab L52
	efail
lab L53
	line	258
	colm	4
	synt	endevery
	unmark
lab L51
	mark	L54
	line	260
	colm	4
	synt	every
	mark0
	pnull
	var	12
	pnull
	int	1
	pnull
	var	10
	int	2
	line	260
	colm	23
	synt	any
	minus
	push1
	line	260
	colm	17
	synt	any
	toby
	line	260
	colm	12
	synt	any
	asgn
	pop
	mark0
	var	20
	var	13
	var	6
	int	1
	pnull
	var	5
	pnull
	pnull
	var	12
	real	10
	line	261
	colm	39
	synt	any
	plus
	var	10
	line	261
	colm	46
	synt	any
	div
	line	261
	colm	33
	synt	any
	mult
	var	9
	int	2
	var	7
	pnull
	var	8
	var	12
	line	261
	colm	67
	synt	any
	plus
	line	261
	colm	15
	synt	any
	invoke	8
	unmark
lab L55
	efail
lab L56
	line	260
	colm	4
	synt	endevery
	unmark
lab L54
	mark	L57
	var	21
	var	13
	line	263
	colm	13
	synt	any
	invoke	1
	unmark
lab L57
	mark	L58
	mark	L59
	var	1
	line	264
	colm	4
	synt	any
	pret
lab L59
	synt	any
	pfail
	unmark
lab L58
	pnull
	line	265
	colm	1
	synt	any
	pfail
	end
proc Capture
	local	0,001000,win
	local	1,001000,pal
	local	2,001000,x
	local	3,001000,y
	local	4,001000,w
	local	5,001000,h
	local	6,000020,a
	local	7,000020,c
	local	8,000020,k
	local	9,000020,s
	local	10,000020,t
	local	11,000020,cmap
	local	12,000040,type
	local	13,000000,proc
	local	14,000000,runerr
	local	15,000000,WAttrib
	local	16,000000,PaletteChars
	local	17,000000,table
	local	18,000000,Pixel
	local	19,000000,PaletteKey
	local	20,000000,put
	local	21,000000,get
	con	0,010000,4,164,171,160,145
	con	1,002000,1,0
	con	2,010000,6,167,151,156,144,157,167
	con	3,002000,3,140
	con	4,010000,2,143,061
	con	5,010000,2,144,170
	con	6,010000,2,144,171
	con	7,010000,5,167,151,144,164,150
	con	8,010000,6,150,145,151,147,150,164
	con	9,002000,3,205
	con	10,010000,0
	con	11,002000,3,100
	con	12,010000,1,054
	declend
	line	272
	colm	11
	synt	any
lab L1
	init	L3
	mark	L2
	pnull
	var	12
	var	13
	str	0
	int	1
	line	276
	colm	24
	synt	any
	invoke	2
	line	276
	colm	17
	synt	any
	asgn
	unmark
lab L2
	einit	L1
lab L3
	mark	L4
	line	278
	colm	4
	synt	if
	mark0
	pnull
	var	12
	var	0
	line	278
	colm	11
	synt	any
	invoke	1
	str	2
	line	278
	colm	17
	synt	any
	lexne
	unmark
	mark	L5
	pnull
	var	0
	pnull
	var	1
	pnull
	var	2
	pnull
	var	3
	pnull
	var	4
	var	5
	line	279
	colm	37
	synt	any
	swap
	line	279
	colm	31
	synt	any
	swap
	line	279
	colm	25
	synt	any
	swap
	line	279
	colm	19
	synt	any
	swap
	line	279
	colm	11
	synt	any
	swap
	unmark
lab L5
	pnull
	var	0
	mark	L6
	pnull
	line	280
	colm	15
	synt	any
	keywd	window
	line	280
	colm	14
	synt	any
	nonnull
	line	280
	colm	23
	synt	any
	esusp
	goto	L7
lab L6
	var	14
	int	3
	line	280
	colm	37
	synt	any
	keywd	window
	line	280
	colm	31
	synt	any
	invoke	2
lab L7
	line	280
	colm	11
	synt	any
	asgn
	line	278
	colm	4
	synt	endif
	unmark
lab L4
	mark	L8
	pnull
	pnull
	var	1
	line	283
	colm	4
	synt	any
	null
	str	4
	line	283
	colm	9
	synt	any
	asgn
	unmark
lab L8
	mark	L9
	pnull
	pnull
	var	2
	line	285
	colm	4
	synt	any
	null
	pnull
	var	15
	var	0
	str	5
	line	285
	colm	18
	synt	any
	invoke	2
	line	285
	colm	10
	synt	any
	neg
	line	285
	colm	7
	synt	any
	asgn
	unmark
lab L9
	mark	L10
	pnull
	pnull
	var	3
	line	286
	colm	4
	synt	any
	null
	pnull
	var	15
	var	0
	str	6
	line	286
	colm	18
	synt	any
	invoke	2
	line	286
	colm	10
	synt	any
	neg
	line	286
	colm	7
	synt	any
	asgn
	unmark
lab L10
	mark	L11
	pnull
	pnull
	var	4
	line	287
	colm	4
	synt	any
	null
	pnull
	var	15
	var	0
	str	7
	line	287
	colm	17
	synt	any
	invoke	2
	pnull
	var	2
	var	15
	var	0
	str	5
	line	287
	colm	46
	synt	any
	invoke	2
	line	287
	colm	37
	synt	any
	plus
	line	287
	colm	32
	synt	any
	minus
	line	287
	colm	7
	synt	any
	asgn
	unmark
lab L11
	mark	L12
	pnull
	pnull
	var	5
	line	288
	colm	4
	synt	any
	null
	pnull
	var	15
	var	0
	str	8
	line	288
	colm	17
	synt	any
	invoke	2
	pnull
	var	3
	var	15
	var	0
	str	6
	line	288
	colm	47
	synt	any
	invoke	2
	line	288
	colm	38
	synt	any
	plus
	line	288
	colm	33
	synt	any
	minus
	line	288
	colm	7
	synt	any
	asgn
	unmark
lab L12
	mark	L13
	line	290
	colm	4
	synt	if
	mark0
	pnull
	var	4
	int	1
	line	290
	colm	9
	synt	any
	numlt
	unmark
	pnull
	var	2
	dup
	pnull
	var	4
	pnull
	var	4
	line	291
	colm	19
	synt	any
	neg
	line	291
	colm	16
	synt	any
	asgn
	line	291
	colm	9
	synt	any
	minus
	asgn
	line	290
	colm	4
	synt	endif
	unmark
lab L13
	mark	L14
	line	292
	colm	4
	synt	if
	mark0
	pnull
	var	5
	int	1
	line	292
	colm	9
	synt	any
	numlt
	unmark
	pnull
	var	3
	dup
	pnull
	var	5
	pnull
	var	5
	line	293
	colm	19
	synt	any
	neg
	line	293
	colm	16
	synt	any
	asgn
	line	293
	colm	9
	synt	any
	minus
	asgn
	line	292
	colm	4
	synt	endif
	unmark
lab L14
	mark	L15
	mark	L16
	var	16
	var	0
	var	1
	line	295
	colm	16
	synt	any
	invoke	2
	line	295
	colm	27
	synt	any
	esusp
	goto	L17
lab L16
	var	14
	int	9
	var	1
	line	295
	colm	35
	synt	any
	invoke	2
lab L17
	unmark
lab L15
	mark	L18
	pnull
	var	11
	var	17
	line	297
	colm	17
	synt	any
	invoke	0
	line	297
	colm	9
	synt	any
	asgn
	unmark
lab L18
	mark	L19
	pnull
	var	9
	str	10
	line	301
	colm	6
	synt	any
	asgn
	unmark
lab L19
	mark	L20
	pnull
	var	6
	pnull
	line	302
	colm	9
	synt	any
	llist	0
	line	302
	colm	6
	synt	any
	asgn
	unmark
lab L20
	mark	L21
	line	303
	colm	4
	synt	every
	mark0
	pnull
	var	8
	var	18
	var	0
	var	2
	var	3
	var	4
	var	5
	line	303
	colm	20
	synt	any
	invoke	5
	line	303
	colm	12
	synt	any
	asgn
	pop
	mark0
	mark	L24
	pnull
	var	7
	mark	L25
	pnull
	pnull
	var	11
	var	8
	line	304
	colm	17
	synt	any
	subsc
	line	304
	colm	12
	synt	any
	nonnull
	line	304
	colm	21
	synt	any
	esusp
	goto	L26
lab L25
	pnull
	pnull
	var	11
	var	8
	line	304
	colm	28
	synt	any
	subsc
	var	19
	var	0
	var	1
	var	8
	line	304
	colm	45
	synt	any
	invoke	3
	line	304
	colm	32
	synt	any
	asgn
lab L26
	line	304
	colm	9
	synt	any
	asgn
	unmark
lab L24
	line	305
	colm	7
	synt	if
	mark0
	pnull
	pnull
	pnull
	var	9
	dup
	var	7
	line	305
	colm	14
	synt	any
	cat
	asgn
	line	305
	colm	10
	synt	any
	size
	int	11
	line	305
	colm	22
	synt	any
	numge
	unmark
	mark	L27
	var	20
	var	6
	var	9
	line	306
	colm	13
	synt	any
	invoke	2
	unmark
lab L27
	pnull
	var	9
	str	10
	line	307
	colm	12
	synt	any
	asgn
	line	305
	colm	7
	synt	endif
	unmark
lab L22
	efail
lab L23
	line	303
	colm	4
	synt	endevery
	unmark
lab L21
	mark	L28
	var	20
	var	6
	var	9
	line	310
	colm	7
	synt	any
	invoke	2
	unmark
lab L28
	mark	L29
	pnull
	var	9
	pnull
	pnull
	pnull
	var	4
	str	12
	line	312
	colm	11
	synt	any
	cat
	var	1
	line	312
	colm	18
	synt	any
	cat
	str	12
	line	312
	colm	25
	synt	any
	cat
	line	312
	colm	6
	synt	any
	asgn
	unmark
lab L29
	mark	L30
lab L31
	line	313
	colm	4
	synt	while
	mark0
	pnull
	var	9
	dup
	var	21
	var	6
	line	313
	colm	20
	synt	any
	invoke	1
	line	313
	colm	12
	synt	any
	cat
	asgn
lab L32
	unmark
	goto	L31
lab L33
	line	313
	colm	4
	synt	endwhile
	unmark
lab L30
	mark	L34
	mark	L35
	var	9
	line	314
	colm	4
	synt	any
	pret
lab L35
	synt	any
	pfail
	unmark
lab L34
	pnull
	line	315
	colm	1
	synt	any
	pfail
	end
