Click or drag to resize
UtilgetIntPar Method
Extracts an integer macro definition from a command option dictionary.

Namespace: Microsoft.Research.Liquid
Assembly: Liquid1 (in Liquid1.dll) Version: 1.0.5981.24943 (1.0.*)
Syntax
F#
static member getIntPar : 
        dic : Dictionary<string, string> * 
        nam : string * 
        def : int -> int 

Parameters

dic
Type: System.Collections.GenericDictionaryString, String
The dictionary to search
nam
Type: SystemString
The macro name
def
Type: SystemInt32
The default value to return if the name is not found in the dictionary

Return Value

Type: Int32
Macro value if found, or else default value
See Also