I have a code, and I want to make sure that a class definion is indeed loaded. Lets say that the class name is foo. I can do the following:
if { [ catch { foo new } ] } { source "path_to_code" } Is there a way to do it without catch?
if { [ catch { foo new } ] } { source "path_to_code" } Copyright © 2021 Jogjafile Inc.
You can use the
infocommand: