# NOT RUN {
# Initialization of Spectrino
spnNew()
# generate test set
spnOpenTree("<test>")
# check just one
spnSetSpcChecked(2,3,TRUE)
# all the spec from second group to OFF
spnSetSpcChecked(2,"*",FALSE)
# all the specs in all groups to ON
spnSetSpcChecked("*","*",TRUE)
# Release of Spectrino
#spnFree(TRUE)
# }
Run the code above in your browser using DataLab