I have worked this out for myself and it works, but someone may want to tell me I've done it the hard way?
I haven't hard coded the reference data I use, but initially create them as .csv files. I am doing the same with the other files and completed jobs.
In order to get some protection, I have created an algorythym to change each character to a differnt one, and use one of the unusual printable extended ascii charaters in place of a comma to identify the end of each string of data. Is there a better way?
I still have a query with regard to encryption. I can save my encrypted file in csv format OK placing a character of my choise in place of the comma when writing to a file, but when reading it in, it looks as if I need to read the entire file in as a single string, and then split it up, or read in a single charater at a time, looking for my special charater?
Is there a way the file can be read as if it is a regular csv file, but looking for a different character in place of the comma?
Well you could read it into a string and use replstr$() to replace your character. But you would need to save it out to file again to use inputcsv$(). To keep the encryption read in the entire file then work through it using word$() with your special character as the separator.