Forum: Poser Technical


Subject: Comments in Poser Files

_dodger opened this issue on Dec 11, 2002 ยท 33 posts


ScottA posted Thu, 12 December 2002 at 7:02 PM

Lol. They all work bloodsong. The story goes like this: I was teaching myself VB a couple years ago and I was writting some comments in the code. I opened a piece of code that someone posted as an example and I noticed the "" was used to store comments. At the time all of it was new to me. And I was thinking about why those symbols would not get compiled. When I opened a .cr2 file; probably to answer one of your questions. I rarely go looking for things on my own unless someone asks a question. I'm perfectly happy making models and animations. 8-) And I thought to myself. "these lines in .cr2s are written similar to VB code. So on a whim... I tried using the "" to convert channels to comments. Thus causing Poser to skip over them. You have no idea how shocked I was when it worked. It was one of those cool accidents. :-) I was thrilled that I had applied coding theory to Poser files when I didn't even understand how to write code yet. As usual. I jumped on-line and told everyone about what I just found. Not so much happy that I was able to make comments inside .cr2 files. But that I had found an effortless way to remove information from .cr2 lines without running the risk of removing too much by accident. One of the firsy people to read it on the list was a guy named Dan Wilmes (sp?). Who was a programer by occupation. When he heard that Poser files responded to standard coding syntax. His interest peaked. And he developed what is now known as CR2Editor. Now up to version6 I believe. It's one of my favorite Poser community stories. Because the sharing of info discovered by accident developed into a neat trick and a cool piece of software. Later after I learned about the other syntax also used for making comments. I switched to using the "//" symbol. Because doing it that way. I didn't need to hold down my Shift key. And it was faster. Ahhh....the good ole days. :-) ScottA