Knowledge Base

Produces a True result in X if input ii is on when the instruction is first executed and remains on for the next tt x 10mS. Otherwise returns a False result in X. This is used for generating auto-repeat keys, for example for LCD based menu systems.

tt must be between 1 and 255.

Be aware this is a blocking instruction.  The task that calls it will block until either the input becomes inactive or the timer expires.

+ From dialect 16 the address argument will be jndexed when executed inside a MultiTrack task and will be indexed if the instruction is preceded by the IasJ: precode.

Dialect exclusions: Not available in dialects before 9.

From dialect 20 some controllers allow you to program the 10mS basic “tick” interval over the range 1mS to 255mS via a setting in the CPU device. See the CPU device documentation for your controller. This will affect the tt argument in InputR.