Author |
Topic: Commenting out parts of a .txm file (Read 1044 times) |
|
gabriels
Member
 
 MIDI-OX Rules!

Posts: 18
|
 |
Commenting out parts of a .txm file
« on: Jan 30th, 2008, 7:04pm » |
Quote Modify
|
Hi, I Hope I didn't post twice...had a problem in posting in General Midiox questions, so I tried again here.... i'd like to edit a .txm file (commenting out some entire lines and also inserting comments at the end of lines. I think it works to use | (pipe) at the beginning of a line to make midiox ignore the line, though I do get an error message telling me that Midiox has a problem parsing the ASCII map. Though I get the error message, the txm file does load in successfully and the loaded file seems to be what I expect. For comments, it seems I can just put in text at the end of the line, which Midiox ignores, presumably because it has read in the expected number of fields on a line and goes on to the next line. Am I going to have any problems if I do this. I actually have a large number of .txm files I'd like to edit, and don't want to waste the time if this isn't acceptable practice. Thanks, Gabriel
|
|
IP Logged |
|
|
|
Peter L Jones
Expert
    

Hit it
Gender: 
Posts: 978
|
 |
Re: Commenting out parts of a .txm file
« Reply #1 on: Jan 31st, 2008, 3:59pm » |
Quote Modify
|
If you look in the MIDI OX folder under Program Files, there's a folder called "Map" containing a file called "Example.txm". It appears that ";" is the intended line comment character.
|
|
IP Logged |
"...Playing fast around the drums is one thing. But to play with people for others, to listen to, that's something else. That's a whole other world." -- Tony Williams
|
|
|
Jamie OConnell
Administrator
    


Gender: 
Posts: 2027
|
 |
Re: Commenting out parts of a .txm file
« Reply #2 on: Feb 1st, 2008, 3:24pm » |
Quote Modify
|
Yeah, use ';' to mark a comment line -- everything after that is ignored.
|
|
IP Logged |
--Jamie Music is its own reward.
|
|
|
|