[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Tue, 19 Jul 2005 20:21:45 -0400
Example wrong in docs?
On the page marked 40 of the PDF documentation, or page 56 of 102 if you
go by the absolute page numbers, i.e. in the Button Hook section,
"The main list for the entity A is named l_A." and in the examples:
"if ((i = getSelectedId('l_book')) < 0)"
What worked for me is m_ rather than l_ ...
Am I accidentally hitting on something other than intended behavior or just
lucky that I started from examples rather than docs? ;-)
I am referring to the current version at http://erw.dsi.unimi.it/ERW.pdf
On a second note, I think the method of explaining how to chain attribute
might be more fathomable ("The formal description above is quite unfathomable.")
if you explain how to construct them using the info in the defs files. I have
that to be quite useful for understanding exactly what names can be referenced,
am finally beginning to 'get it' without peeking at all... I noticed that if I
at the label/type/mand arrays, I can tell what names are in scope to start out
and can build from there. The documentation might be a lot more concrete for
with one example and then a walk through using label/type/mand where the local
are, and discussing whether you can use succ/pred/neighbourhood/parent to get
related info. Just trying to help think through how to explain a complex topic.