The Scan interface contains procedures that convert a text representation to its corresponding Modula-3 value. Leading and trailing blanks (i.e. characters in Lex.Blanks) are ignored. See the description of Scan interface for more information.
VAR string := "100"; integer := Scan.Int (string); BEGIN Scan.Bool (IO.GetLine()); END