Text Files

In this lesson you will learn how to read text files.

We will start with simple text with just names, and then read a CSV (comma separated values) file.

XML (Extensible Markup Language) files are extremely versatile. They allow use represent data structures where the key is matched to a value and can also be nested. They are discussed in the next lesson.

Please study the material at each of the links below.

  1. Code in a file
  2. A list of names
  3. Read names and store in Array
  4. Read names and display in TextArea component
  5. Reading a list of links for a combo box
Like us on Facebook:


OER: Open Educational Resource
Creative Commons License Author: Janet E. Joy; Publisher: Zebra0.com
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License
Creative Commons Attribution-NonCommercial 4.0 International License
Last modified: May 23 2017 16:05:15.