Thanks for the suggestions. CSV data can already be imported, using the file and string functions. How the code would look in detail of course depends on the imported data.