version	U12.1.00
uid	imagedim.u1-1786350267-0
record	idim,3
	0,type
	1,w
	2,h
impl	error
global	3
	0,000011,idim,3
	1,000005,imagedim,1
	2,000005,idim_bad,0

proc imagedim
	local	0,001000,s
	local	1,000020,Image
	local	2,000020,line
	local	3,000020,dim
	local	4,000000,open
	local	5,000000,stop
	local	6,000000,read
	local	7,000000,idim_bad
	local	8,000000,tab
	local	9,000000,find
	local	10,000000,idim
	local	11,000000,integer
	local	12,000000,many
	con	0,010000,16,052,052,052,040,143,141,156,156,157,164,040,157,160,145,156,040
	con	1,010000,5,167,151,144,164,150
	con	2,002000,1,6
	con	3,010000,3,170,142,155
	con	4,002000,1,0
	con	5,010000,6,150,145,151,147,150,164
	con	6,002000,1,7
	con	7,010000,3,130,120,115
	con	8,010000,3,170,160,155
	con	9,010000,1,042
	con	10,010000,1,040
	declend
	filen	imagedim.icn
	line	30
	colm	11
	synt	any
	mark	L1
	pnull
	var	1
	mark	L2
	var	4
	var	0
	line	33
	colm	17
	synt	any
	invoke	1
	line	33
	colm	21
	synt	any
	esusp
	goto	L3
lab L2
	var	5
	str	0
	var	0
	line	33
	colm	27
	synt	any
	invoke	2
lab L3
	line	33
	colm	10
	synt	any
	asgn
	unmark
lab L1
	mark	L4
	pnull
	var	2
	mark	L5
	var	6
	var	1
	line	35
	colm	16
	synt	any
	invoke	1
	line	35
	colm	24
	synt	any
	esusp
	goto	L6
lab L5
	var	7
	line	35
	colm	34
	synt	any
	invoke	0
lab L6
	line	35
	colm	9
	synt	any
	asgn
	unmark
lab L4
	mark	L7
	var	2
	line	36
	colm	9
	synt	any
	bscan
	line	37
	colm	7
	synt	ifelse
	mark	L8
	var	8
	pnull
	var	9
	str	1
	line	37
	colm	18
	synt	any
	invoke	1
	int	2
	line	37
	colm	28
	synt	any
	plus
	line	37
	colm	13
	synt	any
	invoke	1
	unmark
	mark	L10
	pnull
	var	3
	var	10
	str	3
	line	38
	colm	21
	synt	any
	invoke	1
	line	38
	colm	14
	synt	any
	asgn
	unmark
lab L10
	mark	L11
	pnull
	pnull
	var	3
	line	39
	colm	13
	synt	any
	field	w
	mark	L12
	var	11
	var	8
	int	4
	line	39
	colm	30
	synt	any
	invoke	1
	line	39
	colm	26
	synt	any
	invoke	1
	line	39
	colm	35
	synt	any
	esusp
	goto	L13
lab L12
	var	7
	line	39
	colm	45
	synt	any
	invoke	0
lab L13
	line	39
	colm	16
	synt	any
	asgn
	unmark
lab L11
	var	6
	var	1
	line	40
	colm	14
	synt	any
	invoke	1
	line	40
	colm	22
	synt	any
	bscan
	mark	L14
	mark	L16
	mark	L17
	var	8
	pnull
	var	9
	str	5
	line	41
	colm	21
	synt	any
	invoke	1
	int	6
	line	41
	colm	32
	synt	any
	plus
	line	41
	colm	16
	synt	any
	invoke	1
	line	41
	colm	37
	synt	any
	esusp
	goto	L18
lab L17
	var	7
	line	41
	colm	47
	synt	any
	invoke	0
lab L18
	unmark
lab L16
	pnull
	pnull
	var	3
	line	42
	colm	16
	synt	any
	field	h
	mark	L19
	var	11
	var	8
	int	4
	line	42
	colm	33
	synt	any
	invoke	1
	line	42
	colm	29
	synt	any
	invoke	1
	line	42
	colm	38
	synt	any
	esusp
	goto	L20
lab L19
	var	7
	line	42
	colm	48
	synt	any
	invoke	0
lab L20
	line	42
	colm	19
	synt	any
	asgn
	line	43
	colm	15
	synt	any
	esusp
	goto	L15
lab L14
	var	7
	line	43
	colm	25
	synt	any
	invoke	0
lab L15
	line	40
	colm	22
	synt	any
	escan
	goto	L9
lab L8
	line	45
	colm	12
	synt	if
	mark0
	var	9
	str	7
	line	45
	colm	19
	synt	any
	invoke	1
	unmark
	mark	L21
	pnull
	var	3
	var	10
	str	8
	line	46
	colm	21
	synt	any
	invoke	1
	line	46
	colm	14
	synt	any
	asgn
	unmark
lab L21
	mark	L22
	mark	L23
	var	6
	var	1
	line	47
	colm	14
	synt	any
	invoke	1
	line	47
	colm	22
	synt	any
	esusp
	goto	L24
lab L23
	var	7
	line	47
	colm	32
	synt	any
	invoke	0
lab L24
	unmark
lab L22
	var	6
	var	1
	line	49
	colm	14
	synt	any
	invoke	1
	line	49
	colm	22
	synt	any
	bscan
	mark	L25
	pnull
	str	9
	line	50
	colm	13
	synt	any
	tabmat
	pop
	pnull
	pnull
	var	3
	line	50
	colm	24
	synt	any
	field	w
	var	11
	var	8
	var	12
	line	50
	colm	47
	synt	any
	keywd	digits
	line	50
	colm	46
	synt	any
	invoke	1
	line	50
	colm	41
	synt	any
	invoke	1
	line	50
	colm	37
	synt	any
	invoke	1
	line	50
	colm	27
	synt	any
	asgn
	pop
	pnull
	str	10
	line	51
	colm	15
	synt	any
	tabmat
	pop
	pnull
	pnull
	var	3
	line	51
	colm	25
	synt	any
	field	h
	var	11
	var	8
	var	12
	line	51
	colm	48
	synt	any
	keywd	digits
	line	51
	colm	47
	synt	any
	invoke	1
	line	51
	colm	42
	synt	any
	invoke	1
	line	51
	colm	38
	synt	any
	invoke	1
	line	51
	colm	28
	synt	any
	asgn
	line	52
	colm	15
	synt	any
	esusp
	goto	L26
lab L25
	var	7
	line	52
	colm	25
	synt	any
	invoke	0
lab L26
	line	49
	colm	22
	synt	any
	escan
	line	45
	colm	12
	synt	endif
lab L9
	line	37
	colm	7
	synt	endifelse
	line	36
	colm	9
	synt	any
	escan
	unmark
lab L7
	mark	L27
	mark	L28
	var	3
	line	58
	colm	4
	synt	any
	pret
lab L28
	synt	any
	pfail
	unmark
lab L27
	pnull
	line	60
	colm	1
	synt	any
	pfail
	end
proc idim_bad
	local	0,000000,stop
	con	0,010000,18,052,052,052,040,142,141,144,040,151,155,141,147,145,040,144,141,164,141
	declend
	line	62
	colm	11
	synt	any
	mark	L1
	var	0
	str	0
	line	63
	colm	8
	synt	any
	invoke	1
	unmark
lab L1
	pnull
	line	64
	colm	1
	synt	any
	pfail
	end
