Quote:
Originally posted by Mug Funky
could you elaborate on the triple quote thing? i don't get how it'd carry across lines.
|
It just does. That's the way how AviSynth's script parser works.
Code:
mpeg2source("sample.d2v")
# unused = """ \
addborders(16,0,0,0)
subtitle("funny text")
# normal comments don't interfere
greyscale
# \"""
return last
In the same manner, after uncommenting the first and last #'s you could even do
eval(unused)
By doing so, you can enclose different parts of a script in quotation marks, and use these strings as quasi-functions. At times this may come handy for conditional executions and such. See
here.
stickboy wrote
lots of useful stuff for AviSynth. Reading it is really worth it.
- But if one doesn't mind bowing down to grab the money that's lying on the street, well ...
__________________
- We´re at the beginning of the end of mankind´s childhood -
My little
flickr gallery. (Yes indeed, I do have hobbies other than digital video!)