On Wednesday 06 October 2021 08:25:10 andy pugh wrote: > On Wed, 6 Oct 2021 at 12:00, Gene Heskett <ghesk...@shentel.net> wrote: > > Which indeed shows that "axis_letter" does not exist in vars. > > I didn't say that it did. The line of code I gave did not use vars. > > try just "axis_letter" or "vars.ja_rbutton", see if either work.
neither work, even for the 10,000 monkeys approach to the syntax. ja_rbutton does exist in print( dir ( vars)) but: File "/home/pi/.axisrc", line 47, in user_live_update if "XYZABCUVW"(ja_rbutton)!=0: NameError: name 'ja_rbutton' is not defined File "/home/pi/.axisrc", line 47, in user_live_update if "XYZABCUVW"(vars.ja_rbutton)!=0: TypeError: 'str' object is not callable I assume this is python3, but I am probably 300 miles from a python3 expert. Not even an amature. :( Thanks Andy. Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/gene> _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers