¿ªÔÆÌåÓý

Locked Re: Jython Script Contribution - YAAT enhancement #automation #yaat #scripting


 

Bill,

I will review your proposed changes. Those look like very good additions.

Dave Sand

On Sep 18, 2019, at 6:17 AM, bill fitch <bill.fitch14@...> wrote:

I have found YATT very useful, and have used it in my club to move a train around a timesaver puzzle. Thanks Dave Sands very much.
I found that I needed two enhancements in order to reduce the size of the text file:
? nested if statements
? subroutines
I have written a YATT jython file with these enhancements and would like to submit the file for inclusion in JMRI, but I do not know the procedure, so I have put a working routine in the files section in the folder 'YATT with subroutines' for consideration. If the contribution is acceptable it would need some work to bring it up to standard for inclusion. I would need to
? restore the original example provided by Dave Sands
? remove a lot of print statements which I added while debugging using a self.print5() routine
? maybe include an example of nested ifs and gosubs.
In the YATT with subroutines' folder I have placed
? my version of YATT
? The text file I used to move a train around the layout

I would appreciate it if I could be told what the next step, if any, should be

Bill Fitch

Join [email protected] to automatically receive all group messages.