How can i write information which store in dets to txt file?
Thank you.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Since you’ve provided little to no information on what you mean or what you intend to do, the only advice I can give you is to read the dets manual. The functions you’ll likely need are:
dets:open_file/1ordets:open_file/2to open the file that has the information in it.dets:traverse/2to walk over the data in your store passing in afunthat does whatever you want (in this case writing to a text file).dets:close/1to close the data store.If you want more specific advice or if you’re thinking of something entirely different you’ll have to ask a better question—one that has details, for example.