![]() |
![]() |
validatemethod |
![]() |
![]() |
![]() |
||||
![]() |
![]() |
![]() |
![]() |
![]() |
Example: % ::obj::validatemethod line -coords val { foreach c $val { if {![string is double -strict $c]} then { return -code error\ [list $self expects for -coords only numbers\ but received $c]! } } } validatemethod line -coords % |