spnGetSpcName {spectrino}R Documentation

Gets the spec name with an index SpcIdx from Grp group

Description

Gets the spec name with an index SpcIdx from Grp group in the top tab/spec-tree.

Usage

spnGetSpcName(Grp,SpcIdx)

Arguments

Grp

- the name(character string) or the index(integer) of the spec-group; 0 - active group.

SpcIdx

- the index(integer) of the spec; 0 - selected spec. If SpcIdx="*" gets back a comma-separated list of all specs names in the group.

Value

spnGetSpcCount returns the name(character string) of spec with SpcIdx index from Grp group.

Author(s)

Teodor Krastev

See Also

spnGetGrpName

Examples

# Initialization of Spectrino
spnNew() 

# generate test set
spnOpenTree("<test>")

# the name of second spec from the first group
s1 <- spnGetSpcName(2,1) 

# the names-list of the active group
s2 <- spnGetSpcName(0,"*")

# the name of the third spec from "Test2" group
s3 <- spnGetSpcName("Test2",3)

# Release of Spectrino
spnFree(TRUE)

[Package spectrino version 2.0.0 Index]