Hi all,
I've religiously followed chapter 9 of the 5.1 documentation (the "My First Package" tutorial), and while I've gotten the application working with a minor tweak on my 5.1.5 installation, I'd like to understand things a bit better.
In order to make the mfp::note::add call in note-edit.tcl work, I had to add "-item_id $item_id". Without it, the procedure in note-procs.tcl fails because of the "-item_id:required" statement.
Since the comments indicate the item_id should auto-magically happen when none exists...which procedure is wrong? Should mfp::note::add have an optional item_id argument, or should all callers provide an item_id? If the latter, where does the item_id come from?
I'm assuming the former, since the test case tutorial also calls the add proc without an item_id. But I don't really know what to do with that assumption.
Thanks for any clarity anyone can provide.