Description Usage Arguments Value Author(s) See Also Examples
Get a property value from a block. The properties of a block can be configured from the block menu (configure).
1 | spnGetProperty(Block, Prop)
|
Block |
- the name(character string) of a block. |
Prop |
- the name(character string) of a property. A special integrated property <ITERS> will give the current number of the iteration counter |
spnGetProperty
returns the value of the property, the type depends of the type of propery in the block.
Teodor Krastev
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | # Initialization of Spectrino
spnNew()
# generate test set
spnOpenGroupOfBlocks("<test>")
# set a property
spnSetProperty("test1","objective.0",3.58)
# get a property
spnGetProperty("test1","objective.0")
# Release of Spectrino
#spnFree(TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.