integer and a string? In ksh to do math you need to bracket the operation otherwise you get the same error [link|http://z.iwethey.org/forums/render/content/show?contentid=45994|link ] notice the brackets around the if statement math operands.
thanx,
bill