You are here

trycatch 2.0

admin의 아바타

홈페이지 : http://www.wjduquette.com/tcl/

catch커맨드의 개량 패키지입니다.

Tcl exception handling

The Tcl "error" and "catch" commands support reasonably robust exception handling in Tcl...but writing complicated constructions using "catch" is annoying. The trycatch package implements a new control structure, "try...catch", that provides a level of sweetener on top of "catch".

Version 2.0 adds two new forms, "try {...}" and "try {...} finally {...}", and two commands, "throw" and "onerr", to improve handling of Tcl error codes.

첨부 파일파일 크기
HTML icon trycatch.htm7.91 KB
Binary Data trycatch2.0.tar.gz8.48 KB
Package icon trycatch20.zip9.86 KB