Functions Index :: B :: BreakIf
Module:
Definition:
BreakIf(bool condition, val "x01", val "x02", val "x03", val "x04", ... , val "x20")
Description:
Stops script execution if condition is true and displays the values of the variables passed as arguments (x01 - x20) in the standard Avisynth dialog box separated by "|" characters, after the string "Conditional break:"
Examples:
apath = ...
c = AVISource(apath)
d = SomeFilter(c)
# script will stop only if d.Framecount < c.Framecount
BreakIf(d.Framecount < c.Framecount, d.Framecount, c.Framecount, apath)
...