Subj : Re: a huge favor [MPL] To : fang-castro From : paulie420 Date : Wed Oct 27 2021 03:35 pm fa> would someone give me a MPL line that simply writes a line of text to a fa> .txt file? i.e. 'fang-castro is so lazy' > welcome.txt I suggest you grab Black Panthers MPL lessons; they are available on 2o in the RCS Mystic Mods File Area... If I remember correctly, file handling starts as Lesson 9 and is covered in the next 3 Lessons after that. He explains how to write to filename.txt first, and then goes on to show both reading, writing and handling text and binary files. If I remember correctly, you have to OPEN, WRITE and CLOSE a file using: fAssign fWrite fClose There is a format in paranthesis after the commands, and while you're just asking to write ONE thing to a text, you can use variables so a user can give input, or you can pull data to write from... anywhere. If you want to really understand file handling, I really suggest those 3 Lessons by BP. |07p|15AULIE|1142|07o |08......... --- Mystic BBS v1.12 A47 2021/08/29 (Raspberry Pi/32) * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (21:2/150) .