version	U12.1.00
uid	openchk.u1-1787877068-0
impl	error
global	3
	0,000005,OpenCheck,2
	1,000005,OpenCheck_open,-1
	2,000005,OpenCheck_close,-1

proc OpenCheck
	local	0,001000,p
	local	1,001000,x
	local	2,000020,f
	local	3,000020,e
	local	4,000040,openS
	local	5,000000,type
	local	6,000000,write
	local	7,000000,runerr
	local	8,000000,OpenCheck_open
	local	9,000000,image
	local	10,000000,insert
	local	11,000000,writes
	local	12,000000,OpenCheck_close
	local	13,000000,delete
	local	14,000000,sort
	local	15,000000,set
	local	16,000000,open
	local	17,000000,close
	con	0,010000,9,160,162,157,143,145,144,165,162,145
	con	1,010000,35,117,160,145,156,103,150,145,143,153,040,150,141,163,040,156,157,164,040,142,145,145,156,040,151,156,151,164,151,141,154,151,172,145,144,056
	con	2,002000,3,500
	con	3,010000,8,117,160,145,156,040,157,146,040
	con	4,010000,11,040,163,165,143,143,145,145,144,145,144,056
	con	5,010000,8,040,146,141,151,154,145,144,056
	con	6,002000,1,1
	con	7,010000,9,103,154,157,163,145,040,157,146,040
	con	8,010000,18,040,157,142,152,145,143,164,163,040,141,162,145,040,157,160,145,156,072
	con	9,010000,3,040,040,040
	con	10,010000,4,146,151,154,145
	con	11,002000,3,123
	declend
	filen	openchk.icn
	line	27
	colm	11
	synt	any
	mark	L1
	line	32
	colm	1
	synt	ifelse
	mark	L2
	pnull
	var	5
	var	0
	line	32
	colm	8
	synt	any
	invoke	1
	str	0
	line	32
	colm	12
	synt	any
	lexeq
	unmark
	mark	L4
	line	36
	colm	4
	synt	if
	mark0
	pnull
	var	4
	line	36
	colm	7
	synt	any
	null
	unmark
	mark	L5
	var	6
	line	38
	colm	13
	synt	any
	keywd	errout
	str	1
	line	38
	colm	12
	synt	any
	invoke	2
	unmark
lab L5
	var	7
	int	2
	line	39
	colm	13
	synt	any
	invoke	1
	line	36
	colm	4
	synt	endif
	unmark
lab L4
	mark	L6
	line	42
	colm	4
	synt	case
	mark0
	var	0
	eret
	mark	L8
	ccase
	var	8
	line	44
	colm	22
	synt	any
	eqv
	unmark
	pop
	line	46
	colm	10
	synt	ifelse
	mark	L9
	pnull
	var	2
	var	0
	var	1
	invoke	-1
	line	46
	colm	17
	synt	any
	asgn
	unmark
	mark	L11
	var	6
	line	48
	colm	20
	synt	any
	keywd	errout
	str	3
	var	9
	var	2
	line	48
	colm	46
	synt	any
	invoke	1
	str	4
	line	48
	colm	18
	synt	any
	invoke	4
	unmark
lab L11
	var	10
	var	4
	var	2
	line	49
	colm	19
	synt	any
	invoke	2
	goto	L10
lab L9
	mark	L12
	var	11
	line	53
	colm	21
	synt	any
	keywd	errout
	str	3
	line	53
	colm	19
	synt	any
	invoke	2
	unmark
lab L12
	mark	L13
	line	54
	colm	13
	synt	every
	mark0
	var	11
	line	54
	colm	27
	synt	any
	keywd	errout
	var	9
	pnull
	var	1
	line	54
	colm	42
	synt	any
	bang
	line	54
	colm	41
	synt	any
	invoke	1
	line	54
	colm	25
	synt	any
	invoke	2
	pop
lab L14
	efail
lab L15
	line	54
	colm	13
	synt	endevery
	unmark
lab L13
	var	6
	line	55
	colm	20
	synt	any
	keywd	errout
	str	5
	line	55
	colm	18
	synt	any
	invoke	2
lab L10
	line	46
	colm	10
	synt	endifelse
	goto	L7
lab L8
	mark	L16
	ccase
	var	12
	line	59
	colm	22
	synt	any
	eqv
	unmark
	pop
	mark	L17
	pnull
	var	3
	int	6
	line	61
	colm	12
	synt	any
	asgn
	unmark
lab L17
	mark	L18
	pnull
	line	62
	colm	10
	synt	any
	keywd	error
	var	3
	line	62
	colm	17
	synt	any
	swap
	unmark
lab L18
	line	63
	colm	10
	synt	ifelse
	mark	L19
	pnull
	var	2
	var	0
	var	1
	invoke	-1
	line	63
	colm	17
	synt	any
	asgn
	unmark
	mark	L21
	pnull
	line	65
	colm	13
	synt	any
	keywd	error
	var	3
	line	65
	colm	20
	synt	any
	swap
	unmark
lab L21
	mark	L22
	var	6
	line	66
	colm	20
	synt	any
	keywd	errout
	str	7
	var	9
	var	2
	line	66
	colm	47
	synt	any
	invoke	1
	str	4
	line	66
	colm	18
	synt	any
	invoke	4
	unmark
lab L22
	var	13
	var	4
	var	2
	line	67
	colm	19
	synt	any
	invoke	2
	goto	L20
lab L19
	mark	L23
	pnull
	line	71
	colm	13
	synt	any
	keywd	error
	var	3
	line	71
	colm	20
	synt	any
	swap
	unmark
lab L23
	var	6
	line	72
	colm	20
	synt	any
	keywd	errout
	str	7
	var	9
	var	2
	line	72
	colm	47
	synt	any
	invoke	1
	str	5
	line	72
	colm	18
	synt	any
	invoke	4
lab L20
	line	63
	colm	10
	synt	endifelse
	goto	L7
lab L16
	pop
	var	7
	int	2
	line	77
	colm	16
	synt	any
	invoke	1
lab L7
	line	42
	colm	4
	synt	endcase
	unmark
lab L6
	mark	L24
	var	6
	line	80
	colm	11
	synt	any
	keywd	errout
	pnull
	var	4
	line	80
	colm	20
	synt	any
	size
	str	8
	line	80
	colm	9
	synt	any
	invoke	3
	unmark
lab L24
	mark	L25
	line	81
	colm	4
	synt	every
	mark0
	var	6
	line	81
	colm	17
	synt	any
	keywd	errout
	str	9
	var	9
	pnull
	var	14
	var	4
	line	81
	colm	44
	synt	any
	invoke	1
	line	81
	colm	39
	synt	any
	bang
	line	81
	colm	38
	synt	any
	invoke	1
	line	81
	colm	15
	synt	any
	invoke	3
	pop
lab L26
	efail
lab L27
	line	81
	colm	4
	synt	endevery
	unmark
lab L25
	line	83
	colm	4
	synt	ifelse
	mark	L28
	pnull
	var	5
	var	2
	line	83
	colm	11
	synt	any
	invoke	1
	str	10
	line	83
	colm	15
	synt	any
	lexeq
	unmark
	mark	L30
	var	2
	line	84
	colm	7
	synt	any
	pret
lab L30
	synt	any
	pfail
	goto	L29
lab L28
	mark	L31
	var	7
	line	87
	colm	14
	synt	any
	keywd	errornumber
	line	87
	colm	27
	synt	any
	keywd	errorvalue
	line	87
	colm	13
	synt	any
	invoke	2
	unmark
lab L31
	line	88
	colm	7
	synt	any
	pfail
lab L29
	line	83
	colm	4
	synt	endifelse
	goto	L3
lab L2
	line	95
	colm	4
	synt	if
	mark0
	pnull
	var	0
	line	95
	colm	7
	synt	any
	null
	pop
	pnull
	var	1
	line	95
	colm	12
	synt	any
	null
	unmark
	line	96
	colm	7
	synt	ifelse
	mark	L32
	pnull
	pnull
	var	4
	line	96
	colm	10
	synt	any
	null
	var	15
	line	96
	colm	23
	synt	any
	invoke	0
	line	96
	colm	17
	synt	any
	asgn
	unmark
	mark	L34
	pnull
	var	8
	var	16
	line	98
	colm	26
	synt	any
	swap
	unmark
lab L34
	pnull
	var	12
	var	17
	line	99
	colm	26
	synt	any
	swap
	goto	L33
lab L32
	var	7
	int	11
	mark	L35
	pnull
	var	0
	line	102
	colm	19
	synt	any
	nonnull
	line	102
	colm	22
	synt	any
	esusp
	goto	L36
lab L35
	pnull
	var	1
	line	102
	colm	24
	synt	any
	nonnull
lab L36
	line	102
	colm	13
	synt	any
	invoke	2
lab L33
	line	96
	colm	7
	synt	endifelse
	line	95
	colm	4
	synt	endif
lab L3
	line	32
	colm	1
	synt	endifelse
	unmark
lab L1
	mark	L37
	mark	L38
	pnull
	line	104
	colm	1
	synt	any
	pret
lab L38
	synt	any
	pfail
	unmark
lab L37
	pnull
	line	105
	colm	1
	synt	any
	pfail
	end
proc OpenCheck_open
	local	0,001000,x
	local	1,000000,OpenCheck
	local	2,000000,OpenCheck_open
	declend
	line	107
	colm	11
	synt	any
	mark	L1
	mark	L2
	var	1
	var	2
	var	0
	line	108
	colm	17
	synt	any
	invoke	2
	line	108
	colm	1
	synt	any
	pret
lab L2
	synt	any
	pfail
	unmark
lab L1
	pnull
	line	109
	colm	1
	synt	any
	pfail
	end
proc OpenCheck_close
	local	0,001000,x
	local	1,000000,OpenCheck
	local	2,000000,OpenCheck_close
	declend
	line	111
	colm	11
	synt	any
	mark	L1
	mark	L2
	var	1
	var	2
	var	0
	line	112
	colm	17
	synt	any
	invoke	2
	line	112
	colm	1
	synt	any
	pret
lab L2
	synt	any
	pfail
	unmark
lab L1
	pnull
	line	113
	colm	1
	synt	any
	pfail
	end
