Well, I just tried it again at clipside. I found that printout, when executed, generates a fault.dat in this folder.And even though I included the path in the first argument to open, I still can't write str to where I want it to go. Why ? If I can't write str to another folder, then when I design an interactive page in C# and reference clips.net,env.run(), where does such printout write str? How do I return such a str to a C# Textbox?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Here's an example of writing and reading to a file from the Windows CLIPSIDE. If you provide a complete example of the exact commands you used and the output of those commands, it might be possible to determine why it's not working.
Why can't (open "fault.dat" fault "w")(printout fault "str" crlf)(close fault) write the string to the file?
If the open function returns FALSE, the file wasn't opened. This can occur if you attempt to open a file to write in a write-protected directory.
Well, I just tried it again at clipside. I found that printout, when executed, generates a fault.dat in this folder.And even though I included the path in the first argument to open, I still can't write str to where I want it to go. Why ? If I can't write str to another folder, then when I design an interactive page in C# and reference clips.net,env.run(), where does such printout write str? How do I return such a str to a C# Textbox?
Here's an example of writing and reading to a file from the Windows CLIPSIDE. If you provide a complete example of the exact commands you used and the output of those commands, it might be possible to determine why it's not working.