5.2.17.1. Importing simple text files

<< Click to Display Table of Contents >>

Navigation:  5. Detailed description of the Actions > 5.2. Input Actions > 5.2.17. Square File Reader >

5.2.17.1. Importing simple text files

 

This Action allows you to read text files such as this one:

 

clip0032

 

The above text file contains 2 columns: NAME and AGE. Each column is 10 chars width. There are 2 “invisible” characters used to mark the end of each line (i.e. the “carriage return” character (\n) and the ‘”line feed” character (\r)). Thus, the “data definition string” parameter is “10,10,2” (10 chars for each column and 2 chars for the end-of-line marker). To remove from the output table the third column (that only contains the end-of-line marker “\r\n”), check the “drop last column” check box.

 

 

ANATEL~2_img8

You can drag&drop a .sqr file from a MS-File-Explorer-Window into an Anatella-Graph-Window: This will directly create the corresponding ANATEL~2_img355 ReadSquare Action inside the Anatella graph.