Suppose that the example file data contains the following data.
1

1

50

1

2

55

2

1

55

2

2

70



Read three columns of floatingpoint numbers from the file data.
>

$\mathrm{readdata}\left(\mathrm{data}\,3\right)$

$\left[\left[{1.}{\,}{1.}{\,}{50.}\right]{\,}\left[{1.}{\,}{2.}{\,}{55.}\right]{\,}\left[{2.}{\,}{1.}{\,}{55.}\right]{\,}\left[{2.}{\,}{2.}{\,}{70.}\right]\right]$
 (1) 
Read three columns as integers.
>

$\mathrm{readdata}\left(\mathrm{data}\,\mathrm{integer}\,3\right)$

$\left[\left[{1}{\,}{1}{\,}{50}\right]{\,}\left[{1}{\,}{2}{\,}{55}\right]{\,}\left[{2}{\,}{1}{\,}{55}\right]{\,}\left[{2}{\,}{2}{\,}{70}\right]\right]$
 (2) 
Read the first column of data as integers.
>

$\mathrm{readdata}\left(\mathrm{data}\,\mathrm{integer}\right)$

$\left[{1}{\,}{1}{\,}{2}{\,}{2}\right]$
 (3) 
Read the first column of data as floatingpoint numbers.
>

$\mathrm{readdata}\left(\mathrm{data}\,\mathrm{float}\right)$

$\left[{1.}{\,}{1.}{\,}{2.}{\,}{2.}\right]$
 (4) 
Read the first two columns as integers and the third column as floatingpoint numbers.
>

$\mathrm{readdata}\left(\mathrm{data}\,\left[\mathrm{integer}\,\mathrm{integer}\,\mathrm{float}\right]\right)$

$\left[\left[{1}{\,}{1}{\,}{50.}\right]{\,}\left[{1}{\,}{2}{\,}{55.}\right]{\,}\left[{2}{\,}{1}{\,}{55.}\right]{\,}\left[{2}{\,}{2}{\,}{70.}\right]\right]$
 (5) 