An information processing program for processing input data outputted from a predetermined input device, the input device being a touch panel or touch pad and the input data is an input coordinate data indicating a contact position of a finger or a pen with respect to an operation surface of the input device, and wherein the information processing program causing a computer to operate as: interruption compensation period setting means (18, S18) for setting an interruption compensation period on the basis of a change amount of the input data; following value calculation means (18, S35) for calculating a following value; and interruption compensation means (18, S38, S39) for determining that input continues and correcting the input data, by complementing the input data using the following value, during a period from a time when output of the input data from the input device is interrupted to a time when the interruption compensation period elapses; characterised in that: the following value is a value which is controlled so as to gradually approach a target value even when the target value stops; when a distance between the latest input coordinate and the target value is less than or equal to a predetermined distance, the target value does not change, and when the distance between the latest input coordinate and the target value is larger than the predetermined distance, the target value is updated to an allowance coordinate moving toward the latest input coordinates such that the distance between the latest input coordinate and the allowance coordinate agrees with the predetermined distance, wherein the following value calculation means updates the following value such that the following value approaches the target value by a value obtained by multiplying a difference between the following value and the target value by the predetermined rate; and when an operation on the touch panel or the touch pad with a finger is determined, the predetermined distance is increased and the predetermined rate is decreased, and when an operation on the touch panel or the touch pad with a pen is determined, the predetermined distance is decreased and the predetermined rate is increased. interruption compensation period setting means (18, S18) for setting an interruption compensation period on the basis of a change amount of the input data; following value calculation means (18, S35) for calculating a following value; and interruption compensation means (18, S38, S39) for determining that input continues and correcting the input data, by complementing the input data using the following value, during a period from a time when output of the input data from the input device is interrupted to a time when the interruption compensation period elapses; characterised in that: the following value is a value which is controlled so as to gradually approach a target value even when the target value stops; when a distance between the latest input coordinate and the target value is less than or equal to a predetermined distance, the target value does not change, and when the distance between the latest input coordinate and the target value is larger than the predetermined distance, the target value is updated to an allowance coordinate moving toward the latest input coordinates such that the distance between the latest input coordinate and the allowance coordinate agrees with the predetermined distance, wherein the following value calculation means updates the following value such that the following value approaches the target value by a value obtained by multiplying a difference between the following value and the target value by the predetermined rate; and when an operation on the touch panel or the touch pad with a finger is determined, the predetermined distance is increased and the predetermined rate is decreased, and when an operation on the touch panel or the touch pad with a pen is determined, the predetermined distance is decreased and the predetermined rate is increased. the following value is a value which is controlled so as to gradually approach a target value even when the target value stops; when a distance between the latest input coordinate and the target value is less than or equal to a predetermined distance, the target value does not change, and when the distance between the latest input coordinate and the target value is larger than the predetermined distance, the target value is updated to an allowance coordinate moving toward the latest input coordinates such that the distance between the latest input coordinate and the allowance coordinate agrees with the predetermined distance, wherein the following value calculation means updates the following value such that the following value approaches the target value by a value obtained by multiplying a difference between the following value and the target value by the predetermined rate; and when an operation on the touch panel or the touch pad with a finger is determined, the predetermined distance is increased and the predetermined rate is decreased, and when an operation on the touch panel or the touch pad with a pen is determined, the predetermined distance is decreased and the predetermined rate is increased.