Thread: Avisynth+
View Single Post
Old 7th October 2013, 10:53   #125  |  Link
TurboPascal7
Registered User
 
TurboPascal7's Avatar
 
Join Date: Jan 2010
Posts: 270
I'm not sure for loop is required either, maybe because I haven't seen a single useful example of it used in gscript, that couldn't be rewritten with recursion with maybe a bit more effort. If anyone could provide such an example (preferably used in a real working commonly-used script), I would be grateful.

That said, if you feel like adding features to the language just to simplify a little more than zero scripts - sure, go ahead. It's not like it will make the language worse. I don't have any particular opinion on which version is better, they are both fine.

Quote:
Originally Posted by Sapo84 View Post
and probably less efficient (not that it matters).
Efficiency should be pretty much identical because after building the filter graph it's all the same.
TurboPascal7 is offline