Description Usage Arguments Value Author(s) See Also Examples
Gets the spec name with an index SpcIdx from Grp group in the top tab/spec-tree
1 | 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
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.