GetParMax

Demonstrates how to get detailed information about an existing variable in the PRM.PRM file.

Remarks

This example illustrates how to retrieve the minimum, maximum, type and default value of an existing variable in the PRM.PRM file.

The GetParDef() API has been deprecated. Instead, to get the default value of a parameter, the PRMGetDef() API must be used for either a String or numeric parameter respectively.

Code

  Print "dbic max = ", GetParMax("dbic")
  Print "dbic min = ", GetParMin("dbic")
  Print "dbic type = ", GetParType("dbic")
  Print "dbic default value = ", GetParDef("dbic")

Output

dbic max = 99999
dbic min = -99999
dbic type = N
dbic default value = 100000

© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.