|
» AviSynth is a powerful video FrameServer for Win32. AviSynth Links: » You can add pages to this website
immediately. No login required.
|
For numeric types (int, float):
AviSynth in former versions parsed expressions from right to left, which gave unexpected results: a = 10 - 5 - 5 resulted in 10 - (5 - 5) = 10 instead of (10 - 5) - 5 = 0 ! b = 100. / 2. / 4. resulted in 100. / (2. / 4.) = 200 instead of (100. / 2.) / 4. = 12.5 ! These "bugs" have been corrected in v2.53! For string type:
For clip type:
For bool type:
b = (a==true) ? 1 : 2 This means in pseudo-basic: if (a=true) then b=1 else b=2 v2.07 provides a nop() function in cases where "else" may not otherwise be desirable (such as a conditional import or loadplugin). |