function import

Imports a text file. If the first character in the file is numeric, the values in the file are written into a numerical array. The number of lines in the file then determine NAXIS2, the number of individual entries in the first line of the file determines NAXIS1. Else the text file will be written into a string array.

Syntax
result = import(FILENAME [, /text] [, /number])

Arguments
FILENAME:   A string.


Switches
/text:   Force to read into a string array
/number:   Force to read into a numerical array