Named and Positional Arguments

 

In Scripter, named arguments must have a colon plus equal sign ( := ), not just an equal sign. 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:

Set PinMap = Plot.CreatePinMap( DataFileName:=mvapp.ApplicationFolder _

+ " Samples\Pin.dat", LocatingMethod:= mvPinLocCoordinates, PIDCol:=1, _

XCol:=3, YCol:=4, LabCol:=2)

 

Positional arguments:

Set Plot.CreatePinMap(mvapp.ApplicationFolder + " Samples\Pin.dat", , _

mvPinLocCoordinates, , , 1, 3, 4, 2, , , , , , )

 

 

See Also

MapViewer Object Model

Overview of MapViewer Objects

Using MapViewer Objects

Derived Objects

Using Collection Objects

Object Hierarchy

Object List