break文を使えば、ループ処理を途中で抜け出すことができました。でも、時には、ループだけでなく、プログラムそのものを、その場で、完全に停止させたい場合がありますよね。例えば、重大なエラーが発生したときや、ユーザーが明確に「終了」を指示 ...
during a @slint.callback for say a key_pressed event calls to sys.exit(0) lead to the exception being caught and printed. one would expect the exception to be handled by catching and calling the quit ...