Skip to main content
deleted 11 characters in body
Source Link
Deduplicator
  • 19.9k
  • 1
  • 32
  • 65

Your ungetch has very strange behavior on error.
I'm not quite sure whether it's better or worse than On Error Resume NextOn Error Resume Next, but it's certainly in the same class.

Either handle it yourself, which means reporting an error to stderr and aborting the program, or report it to the caller (see the docs on ungetcungetc for a way).
At the moment, you print an error-message (which might get lost in the output, and anyway there's a human actively and attentively monitoring things), but then happily move on with data-loss and without informing the caller.

Your ungetch has very strange behavior on error.
I'm not quite sure whether it's better or worse than On Error Resume Next, but it's certainly in the same class.

Either handle it yourself, which means reporting an error to stderr and aborting the program, or report it to the caller (see the docs on ungetc for a way).
At the moment, you print an error-message (which might get lost in the output, and anyway there's a human actively and attentively monitoring things), but then happily move on with data-loss and without informing the caller.

Your ungetch has very strange behavior on error.
I'm not quite sure whether it's better or worse than On Error Resume Next, but it's certainly in the same class.

Either handle it yourself, which means reporting an error to stderr and aborting the program, or report it to the caller (see the docs on ungetc for a way).
At the moment, you print an error-message (which might get lost in the output, and anyway there's a human actively and attentively monitoring things), but then happily move on with data-loss and without informing the caller.

replaced http://stackoverflow.com/ with https://stackoverflow.com/
Source Link

Your ungetch has very strange behavior on error.
I'm not quite sure whether it's better or worse than On Error Resume NextOn Error Resume Next, but it's certainly in the same class.

Either handle it yourself, which means reporting an error to stderr and aborting the program, or report it to the caller (see the docs on ungetc for a way).
At the moment, you print an error-message (which might get lost in the output, and anyway there's a human actively and attentively monitoring things), but then happily move on with data-loss and without informing the caller.

Your ungetch has very strange behavior on error.
I'm not quite sure whether it's better or worse than On Error Resume Next, but it's certainly in the same class.

Either handle it yourself, which means reporting an error to stderr and aborting the program, or report it to the caller (see the docs on ungetc for a way).
At the moment, you print an error-message (which might get lost in the output, and anyway there's a human actively and attentively monitoring things), but then happily move on with data-loss and without informing the caller.

Your ungetch has very strange behavior on error.
I'm not quite sure whether it's better or worse than On Error Resume Next, but it's certainly in the same class.

Either handle it yourself, which means reporting an error to stderr and aborting the program, or report it to the caller (see the docs on ungetc for a way).
At the moment, you print an error-message (which might get lost in the output, and anyway there's a human actively and attentively monitoring things), but then happily move on with data-loss and without informing the caller.

added 65 characters in body
Source Link
Deduplicator
  • 19.9k
  • 1
  • 32
  • 65

Your ungetch has very strange behavior on error.
I'm not quite sure whether it's better or worse than On Error Resume Next, but it's certainly in the same class.

Either handle it yourself, which means reporting an error to stderr and aborting the program, or report it to the caller (see the docs on ungetc for a way).
At the moment, you are caught somewhereprint an error-message (which might get lost in betweenthe output, and anyway there's a human actively and attentively monitoring things), but then happily move on with data-loss and without informing the caller.

Your ungetch has very strange behavior on error.
I'm not quite sure whether it's better or worse than On Error Resume Next, but it's certainly in the same class.

Either handle it yourself, which means reporting an error to stderr and aborting the program, or report it to the caller (see the docs on ungetc for a way).
At the moment, you are caught somewhere in between.

Your ungetch has very strange behavior on error.
I'm not quite sure whether it's better or worse than On Error Resume Next, but it's certainly in the same class.

Either handle it yourself, which means reporting an error to stderr and aborting the program, or report it to the caller (see the docs on ungetc for a way).
At the moment, you print an error-message (which might get lost in the output, and anyway there's a human actively and attentively monitoring things), but then happily move on with data-loss and without informing the caller.

Source Link
Deduplicator
  • 19.9k
  • 1
  • 32
  • 65
Loading