View Single Post
Old 29th November 2011, 01:14   #2  |  Link
Gavino
Avisynth language lover
 
Join Date: Dec 2007
Location: Spain
Posts: 3,431
I haven't looked in detail at the algorithmic part, so can't comment on that, but I spotted a couple of things on a quick look at the code.

In the Assert statement error messages, CHR(13) does not produce a newline, just a square blob. Use CHR(10) instead, or just use a multi-line string literal, eg
"first line
second line" # note no '\' required

Also, Avisynth string comparison is case-insensitive, so there's no need to use LCase when comparing.
__________________
GScript and GRunT - complex Avisynth scripting made easier
Gavino is offline   Reply With Quote