Please enable JavaScript to view this site.

ESL Documentation

The following statement reads the color-attributed file INFO.COL into the colored textual region ColorMoney:

 

response to ...

    read colored file "INFO.COL" into ColorMoney

 

After execution, the individual characters in the colored textual region are colored as specified in the color-attributed file.

 

When you read a color-attributed file into an uncolored textual region, the individual character colors are ignored, and the foreground and background colors are those specified in the textual region's definition.

 

If you are using the CText module to assign colors to individual characters in an ASCII text file, do not use the read action statement; the module uses a special action routine to read the file into the textual region.