Evan Simpson wrote:
Bruce Elrick wrote:
And then looked at the three files. I also used 'nm' in a simlary fashion on the .so files. I can't for the life of me figure out how the sequence-XXX variable are defined. The DT_In.py file certainly documents the variables, but I can't figure out how they are implemented. Maybe my lack of understanding of Python is the problem.
DT_InSV.py defines 'sequence-item' and all of its dynamic friends and relatives (the ones which care about the current position within the sequence). The more static variants such as 'sequence-step-size' live in DT_In.py; each place in that file where you see "kw['sequence-something']=", one of these variables is being stuffed into the namespace.
Okay...but DT_InSV.py does not contain the string 'sequence-item'. In DT_In.py the only time that string exists in code is in this code snippet: if has_key('sort'): self.sort=sort=args['sort'] if sort=='sequence-item': self.sort='' I don't know much python but that bit of code does not seem to me to define that bit of DTML. Maybe 'sequence-item' is a special case... Anyway...I willing to leave it at that because I don't know my way around the source code. I was just curious. Strange voodoo magic :-) Thanks for your time, though... Bruce -- Bruce Elrick, Ph.D. Saltus Technology Consulting Group Personal: belrick@home.com IBM Certified Specialist Business: belrick@saltus.ab.ca ADSM, AIX Support, RS/6000 SP, HACMP