Modula-2 pp 86-101 | Cite as

Array Types

  • Daniel Thalmann

Abstract

Suppose we wish to read a word and then write it backwards, from right to left. This problem can be solved in a trivial way if the length of the word is known in advance. For example, if the length of the word is known to be six, the program in Fig. 9.1 will suffice. For example, if the word MODULA is read, the program will write ALUDOM.

Keywords

Coord 

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Springer-Verlag Berlin Heidelberg 1985

Authors and Affiliations

  • Daniel Thalmann
    • 1
  1. 1.Département d’Informatique et Recherche OpérationnelleUniversité de MontréalMontréal (Quebec)Canada

Personalised recommendations