View Single Post
Old 7th December 2005, 21:20   #43  |  Link
Ebobtron
Errant Knight
 
Ebobtron's Avatar
 
Join Date: Oct 2004
Location: St Louis, M0 US
Posts: 364
Hi Fizick,
Sorry for my poor attemp at an answer above.

Quote:
Originally Posted by Fizick
I am still do not understand, does Ebotron or somebody else has this problem with "++" for two trims?
I can not duplicate bug.
I checked the project output script in a hex editor and all was ok. This is what it should look like.
Code:
 t  0  1     +     t  0  2     +  +     t  0  3
74 30 31 20 2b 20 74 30 32 20 2b 2b 20 74 30 33
To repeat from above post.
Quote:
Originally Posted by Ebobtron
Everything in FilmCutter is “ASCII”, “+” = 0x2B.
Code:
if(spliceType == 1)
   sprintf(spliceChar,"+");
if(spliceType == 2)
   sprintf(spliceChar,"++");
   
Then later in the process:
while(t < i)
  {
     sprintf(bb,"%st%02i",spliceChar,t);
     lstrcat(aa,bb);
     t++;
  }
ofile << aa;

Should I use:
sprintf(spliceChar,"%c%c",43,43);
I was trying to show you how the code is written, and if you thought a change would help your problem. If you are having trouble with "++", I am concerned about other charactors such as "(" ")" like "trim(xxx,xxxx)".

Sorry for my poor answer.
Ebobtron
Ebobtron is offline   Reply With Quote