Quote:
Originally Posted by chaley
@eschwartz: it is nice to see someone using the more powerful bits of template language.
For something as complicated as this template you might consider using a custom template function. This is especially true if the template is for a composite column. For a save template, performance is not such a concern.
Re the one line templates: I think you can right click on the save box and open a template editor. Also, there is no problem pasting in a template containing newlines. The same template parser is used for all program mode templates, no matter where they come from.
|
It says in the manual about the plugboard itself not liking them.
Quote:
It would be possible to do the above with no custom columns by putting the program into the template box of the plugboard. However, to do so, all comments must be removed because the plugboard text box does not support multi-line editing. It is debatable whether the gain of not having the custom column is worth the vast increase in difficulty caused by the program being one giant line.
|
I never thought to right-click and check for that, or that it might have changed since then. I will have to keep this in mind for the future.
As for custom functions -- they don't suffer the performance impact of templates? I figured it's the same calculating whether in the function or out of it.... Oh, but I remember that general program mode is supposed to run faster than template mode since it is compiled to python. This is the next level up of that? If so, cool and I will have to remember that too.
Helping people is so much fun, for totally selfish reasons as well -- I learn so much more this way!
And thank you for creating this wonderful tool in the first place!!