spnGetSpcName: Gets the spec name with an index SpcIdx from Grp group

Description Usage Arguments Value Author(s) See Also Examples

Description

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

Usage

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
# 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)

spectrino documentation built on June 4, 2019, 1:02 a.m.