Page 1 of 1

Sync Syntax

Posted: 16 Apr 2018 14:41
by armsys
Referring to

Code: Select all

sync "E:\Test\Sync\Source", "E:\Test\Sync\Target", 5:="c"; //show config
sync "E:\Test\Sync\Source", "E:\Test\Sync\Target", 5:="p"; //preview mode
sync "E:\Test\Sync\Source", "E:\Test\Sync\Target", 5:="k"; //keep progress open
What does it mean by "5:="?

The syntax:
sync source, target, [copy_items], [on_collision], [delete_items], [switches], [logfile], [filter]

The above three samples don't seem to match the syntax.
Please clarify . Thank you.

Re: Sync Syntax

Posted: 16 Apr 2018 14:47
by highend
They do...
v17.30.0001 - 2016-11-02 11:29
...
+++ Scripting: Now numbered arguments are supported. Instead of counting
commas you now can prefix the position of the argument to the argument
itself. The separator is ":=", the first position is 0 (zero).

Re: Sync Syntax

Posted: 16 Apr 2018 15:17
by armsys
Hi Highend,
Thank for revealing a 2016 feature.
Now the weird numbered argument makes sense to me.
Thanks again.