DiGrande.it

Blind, Braille and Embossing Technologies

This site uses cookies to personalize content and ads, provide social media features and analyze links. By closing this banner or continuing to browse, you consent to their use.
Read the DiGrande.it Cookie Policy

Index restore- Ir

- Instruction: Ir

- Parameter: none

- Return: none

- Description:

The index can temporarily be incremented or decremented. This instruction restores the index to its original position.

- Examples:

Text string: b

Braille string: 456

Condition: I- Cpb Ir I+ Cnb

Description: Transcribes the letter "b" with the cell "456", if two positions back and two positions forward there are more "b". First the index decrement was used, then the previous character check, then the index was restored to the original position, the index was incremented by one position, and finally the next character check was done. The condition could be rewritten as follows: I- Cpb I+2 Cnb