Hello Robert,
>> Hello out there,
>> I am looking for a tool to interactively draw flow charts. I know
>> there exists a 'diagram' package in tklib but trying it today it
>> resulted in
>> invalid command name "tk"
>> while executing
>> "error $result"
>> (procedure "Comp.Define" line 12)
>> invoked from within
>> "Comp.Define [Comp.Compile type $type $body]"
>> (procedure "snit::type" line 2)
>> invoked from within
>> "snit::type ::diagram::core {
>> ...
>> on a simple 'package require diagram'.
>
>This suggests that the diagram package is missing a 'package require Tk'...
spot on: calling it from wish the error disappeared.
Now if only I had an example of its use ...
Many thanks
Helmut