Description Usage Arguments Value Author(s) See Also Examples
Open a spec-tree in the active tab from TFilename. The spec-tree file (.str) always is saved with the preprocessing options. If there is no active tab opened Spectrino will create one for you (as in spnAddTree()).
To create new spec-tree you have to either open spec-tree with non-existant filename or empty current one by spnDelGrp("*")
and save the empty one under new name.
1 | spnOpenTree(TFilename,InclOpt)
|
TFilename |
- character string. The extension (*.STR) is not a must. All the filenames or directories must be with forward slashes e.g. D:/Spectrino/Data/Test.str. "<test>" string generates test example |
InclOpt |
- integer (0,1,2); InclOpt rules where the preprocessing options will be taken from. If InclOpt = 0 then factory setting (no preprocessing) is used; 1 is for last used one; if 2 - the options are taken from TFilename |
spnOpenTree
returns the number of groups in the new spec-tree. spnGetGrpCount
Teodor Krastev
spnOpenSpc , spnOpenGrp , spnSaveTree
1 2 3 4 5 6 7 8 | # Initialization of Spectrino
spnNew()
# generate test set
spnOpenTree("<test>")
# Release of Spectrino
#spnFree(TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.