Thread: Avisynth+
View Single Post
Old 7th February 2019, 09:01   #4483  |  Link
ajp_anton
Registered User
 
ajp_anton's Avatar
 
Join Date: Aug 2006
Location: Stockholm/Helsinki
Posts: 805
Quote:
Originally Posted by StainlessS View Post
As far as comments concerned, below is demo of how handy '[* ... *]' is,
Code:
code...
Its use totally evaded me until RaffRiff42 pointed it out some time ago [I had even forgot that it existed as a comment option], the nesting comments can be very useful.

EDIT: Above is not prototype for current posted DDG, will be as above in next version.
But I would love to be able to do
Code:
Function DropDeadGorgeous(clip c,String DB,Int "ScanAhead", Int "X",Int "Y",Int"W",Int "H",Bool "Show", Bool "Verb",
    \
    \ Int   "Prefilter",                                                                               # Prefilter
    \ Int   "SPad",     Int  "SPel",         Bool "SChroma",    Int "SSharp",       Int "SRFilter",    # MSuper
    \ Int   "ABlkSize", Int  "ABlkSizeV",                                                              # MAnalyse
    \ Int   "ASearch",  Int  "ASearchParam", Int  "APelSearch",                                        # MAnalyse
    \ Bool  "AChroma",  Bool "ATrueMotion",                                                            # MAnalyse
    \ Int   "AOverlap", Int  "AOverlapV",                                                              # MAnalyse
    \ Int   "ADct",     Bool "ATryMany",                                                               # MAnalyse
    \ Int   "RthSAD",   Int  "RBlkSize",     Int  "RBlkSizeV",                                         # MRecalculate
    \ Int   "RSearch",  Int  "RSearchParam",                                                           # MRecalculate
    \ Bool  "RChroma",  Bool "RTrueMotion",                                                            # MRecalculate
    \ Int   "ROverlap", Int  "ROverlapV",    Int  "RDct",                                              # MRecalculate
    \ Float "Iml",      Bool "IBlend",       Int  "IthSCD1",    Int "IthSCD2",                         # MFlowInter
    \
    \ Int   "SOSthSCD2"
    \ )
# is just a lot more handy when doing some quick coding, especially when you just want to quickly comment and un-comment a single line in the middle of a chain of \'s. And # is easier to write, with a european keyboard you need a lot of awkward keypresses with altgr for [ and shift for *.

Last edited by ajp_anton; 7th February 2019 at 09:03.
ajp_anton is offline