Problem with file IO #29
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
BeRo1985/besen#29
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I have a problem with file operations, specifically when there is an exception while writing to a file (when the file does not exist in this instance). When I call
Reset(F);on a non existing file, the program just crashes with no message. This only happens after I execute some JavaScript code.I noticed that in BESENShell, you are calling the Reset function like this
{$i-}reset(f,1);{$i+};. Why is it necessary to supress thrown exceptions like this? Are there any other situations, where I can run into this error?Here is some code that results in a crash. Thanks for your help.
The problem could be with https://github.com/BeRo1985/besen/issues/24? - it overrides error handler and does not handle it?