Saving text file as read-only

Bruce Laidlaw wbl at wilddsl.net
Sun May 16 07:17:09 EDT 2004


I want to save student records from a little grammar program in a text 
file, but I don't want the students to improve their results!!

I can do a simple encryption with

put numToChar(charToNum(char x of cd fld "data")+20) after holdit

but a better way would be to save the text file as read only. I can't 
find any way to do that. Can anyone help?

Thanks,

Bruce

Bruce Laidlaw
Sydney, Australia
http://go.to/reading.writing/


More information about the use-livecode mailing list