PDA

View Full Version : Question - Several Commands on the Same Line


Pookie
6th August 2005, 05:44
Is there any difference between this:

SelectEven().Undot()

and

SelectEven()
Undot()

? TIA

Mug Funky
6th August 2005, 07:08
not really :)

the advantage of dot syntax is you can apply lots of filters to a named clip, so it's good in making functions.

the advantage of 1 command per line is you can turn them on and off easily, and insert lines in between (like a different named clip).

as far as function, they're exactly the same to the best of my knowledge.

mg262
6th August 2005, 09:36
An addendum:

I believe last is only updated after each line of code. You can exploit that like this:

# source
SeparateFields.ExperimentalReversalAlpha(LeakKernelBob(order=1)).Weave

where the input into the bobbr is not the output of separatefields but the unseparated source.