Anybody got a user defined language file for JP Software "Take Command" (extension ".btm")? Link: http://jpsoft.com/. Its similar to batch files but not equal.
Or, is it possible to export the language definitions for batch files, enhance them for .btm and import it again?
Thanks a lot!
it is not possible to export definitions of predefined languages. UDL definitions must be created separately.
In the meanwhile, I got a UDL file for .btm files. Most of the syntax coloring work now correct. One thing is not working. If a Take Command internal function (prefixed by %@) or a variable (prefixed by %) is prefixed by a character or number, it is not recognised as a function or variable any more. See attached example. I also attached my current definitions file. Anybody an idea?
this should be easily resolvable, but I need more information from you.
Can you explain the purpose of A and B in front of the percentage sign?
the purpose is a simple string concatenation. In the Take Command batch language, there is no specific string concatenation operator. Of course there are workarounds. E.g. put the prefixing string in a variable and write the two variables behind each other. That works.
Is there a way to have a working UDL configuration for this specific, not so important, situation?
I hoped it would be anything other than string concatenation :-)
UDL treats all keywords as either "forward" or "backward" type (more about this can be seen here: http://udl20.weebly.com/introduction.html). In your case, keywords that start with percentage sign should really be of "forward" type, and in UDL 2.X the only option would be to use Operator1 type.
Only in UDL3.0 users will be able to use more than one Operator1 type, or even better use newly introduced semi-Delimiter type (delimiters that have only starting point like % or %@)
So, there is no easy solution for your problem. You can only move all keywords that start with percentage sign to Operator1 type.
so when will UDL 3.0 probably be available? In a post from October 10t last year you mentioned spring 2014.
Thanks for all your work and efforts
time for UDL has shrunk so much, it is impossible to give any estimates at this point. Large parts of UDL3 are done, but I still need to finish folding code, re-write large part of GUI and do the documentation. Given my schedule, I really don't know when all of this might be done. Sorry about the vague answer, but that's the best I can give at this point.
Ok, I'll sit back and wait... ;-)
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.