spnOpenBlock: Open a block of properties

Description Usage Arguments Value Author(s) See Also Examples

Description

Open a block of properties at a position. You can specify the whole file name including *.blk extention, but it's a bit pointless as all the blocks must be in the same directory as their group of block file.

Usage

1
spnOpenBlock(Block, atPos = -1)

Arguments

Block

- character string, name of the block to open. All the blocks must be in the same directory as their group of block file.

atPos

- integer (0..8) position of the block 1..8 are positions from top to bottom left to right (see Spectrino option for the map). 0 if you wish the block to be hidden. -1 is for automatic placement.

Value

spnOpenBlock returns TRUE if successful, FALSE - otherwise.

Author(s)

Teodor Krastev

See Also

spnOpenGroupOfBlocks , spnSaveBlock

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
# Initialization of Spectrino
spnNew() 

# generate test set
spnOpenGroupOfBlocks("<test>")

# delete a block
spnDelBlock("test2")

# open a block
spnOpenBlock("test2")

# Release of Spectrino
#spnFree(TRUE)

spectrino documentation built on June 4, 2019, 1:02 a.m.