<html><body><div style="color:#000; background-color:#fff; font-family:tahoma, new york, times, serif;font-size:12pt"><div><div>when I use this:</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: tahoma, 'new york', times, serif; background-color: transparent; font-style: normal; ">u16 bank_used[20];</div><div><br></div><div>instead of putting the array in a struct like:</div><div><div>struct {</div><div> u16 in_use;</div><div>} bank_used[20];</div><div><br></div><div>I get:</div><div><br></div><div><div>Traceback (most recent call last):</div><div> File "/Users/jens/build/chirp.hg/chirpui/radiobrowser.py", line 263, in _tree_click</div><div> for name, item in obj.items():</div><div> File "/Users/jens/build/chirp.hg/chirp/bitwise.py", line 155, in __getattr__</div><div> self.__class__))</div><div>AttributeError: Unknown attribute items in
chirp.bitwise.u16DataElement</div><div><br></div><div>Would it be possible to declare arrays outside of structures?</div><div><br></div><div>-Jens</div></div></div></div></div></body></html>