Thread: Avisynth+
View Single Post
Old 6th November 2013, 12:24   #231  |  Link
TurboPascal7
Registered User
 
TurboPascal7's Avatar
 
Join Date: Jan 2010
Posts: 270
Quote:
Originally Posted by Gavino View Post
Because in that the case the problem is more than just the unused variable (that's just an aspect I mentioned to illustrate that the script was incomplete). The issue is that the intended return value is not clear.
Code:
function test() {
    colorbars(640, 480)
    clp = blur(1)
}

colorbars(320, 240)
test()
blur(1.0)
What did the user intend to return here? This script actually works, with function basically being a nop() call. Talk about preventing users errors. =)

Anyway, this was actually pointed out as an example where this proposal would break stuff, which for me is a showstopper. So I'm gonna quit here. But I (and not only I) would still love to see your ideas on multithreading.
__________________
Me on GitHub | AviSynth+ - the (dead) future of AviSynth
TurboPascal7 is offline