| spnGetSpcName {spectrino} | R Documentation |
Gets the spec name with an index SpcIdx from Grp group in the top tab/spec-tree.
spnGetSpcName(Grp,SpcIdx)
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. |
spnGetSpcCount returns the name(character string) of spec with SpcIdx index from Grp group.
Teodor Krastev
spnGetGrpName
# 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)