User Forum    :: Powered by YaBB
  « MIDI-OX User Forum - Commenting out parts of a .txm file »
Welcome, Guest. Please Login or Register.
May 9th, 2025, 7:36am


Home Home Help Help Search Search Members Members Login Login Register Register


   MIDI-OX User Forum
   MIDI-OX
   Mapping Questions
(Moderator: Jamie OConnell)
   Commenting out parts of a .txm file
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: Commenting out parts of a .txm file  (Read 1044 times)
gabriels
Member
**



MIDI-OX Rules!

   
Email

Posts: 18
Commenting out parts of a .txm file
« on: Jan 30th, 2008, 7:04pm »
Quote Quote Modify 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

   
WWW

Gender: male
Posts: 978
Re: Commenting out parts of a .txm file
« Reply #1 on: Jan 31st, 2008, 3:59pm »
Quote Quote Modify 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
*****






   
WWW Email

Gender: male
Posts: 2027
Re: Commenting out parts of a .txm file
« Reply #2 on: Feb 1st, 2008, 3:24pm »
Quote Quote Modify Modify

Yeah, use ';' to mark a comment line -- everything after that is ignored.
IP Logged

--Jamie
Music is its own reward.

Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »


MIDI-OX User Forum » Powered by YaBB 1 Gold - SP 1.3.1!
YaBB © 2000-2003. All Rights Reserved.