Skip to content

Latest commit

 

History

History
58 lines (43 loc) · 1.54 KB

b645eea3-6c68-0417-09d2-26c40df3ef38.md

File metadata and controls

58 lines (43 loc) · 1.54 KB

BlastScript.GetVariableIndex Method

get index of a named variable

Namespace: NSS.Blast
Assembly: BLAST (in BLAST.dll) Version: 1.0.0

Syntax

C#

public int GetVariableIndex(
	string variable_name,
	bool assert_on_fail = true
)

VB

Public Function GetVariableIndex ( 
	variable_name As String,
	Optional assert_on_fail As Boolean = true
) As Integer

C++

public:
int GetVariableIndex(
	String^ variable_name, 
	bool assert_on_fail = true
)

F#

member GetVariableIndex : 
        variable_name : string * 
        ?assert_on_fail : bool 
(* Defaults:
        let _assert_on_fail = defaultArg assert_on_fail true
*)
-> int 

Parameters

 

variable_name
Type: System.String
variable name to lookup
assert_on_fail (Optional)
Type: System.Boolean
assert on failed lookups if true

Return Value

Type: Int32
variable index into package

See Also

Reference

BlastScript Class
NSS.Blast Namespace