Util.getFlgPar Method

Liquid Quantum Simulator

UtilgetFlgPar Method
Extracts a boolean 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 getFlgPar : 
        dic : Dictionary<string, string> * 
        nam : string * 
        def : bool -> bool 

Parameters

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

Return Value

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