Named and Positional Arguments

In Scripter, named arguments must have a colon plus equal sign ( := ), not just an equal sign as in earlier versions of Scripter. The arguments can be named or you can use positional statements separated by commas. The following two examples show the same line written with the two different methods.

Named arguments:

SurferApp.GridData(SurferApp.Path+"\Samples\Demogrid.dat", _

ExclusionFilter:="x<4", xMin:=4, Algorithm:=srfKriging, DupMethod:=srfDupFirst)

Positional arguments:

SurferApp.GridData(SurferApp.Path+"\Samples\Demogrid.dat", _

,,,"x<4",srfDupFirst,,,,,4,,,,srfKriging)