뒤로: Handling Errors, 위로: Errors and Warnings [차례][찾아보기]
Like an error, a warning is issued when something unexpected happens.
Unlike an error, a warning doesn’t abort the currently running program.
A simple example of a warning is when a number is divided by zero. In
this case Octave will issue a warning and assign the value Inf
to the result.
a = 1/0 -| warning: division by zero ⇒ a = Inf
• Issuing Warnings: | ||
• Enabling and Disabling Warnings: |