spnOpenBlock {spectrino}R Documentation

Open a block of properties

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

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

# Initialization of Spectrino
spnNew() 

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

# delete a block
spnDelBlock("test2")

# open a block
spnOpenBlock("test2")

# Release of Spectrino
spnFree(TRUE)

[Package spectrino version 2.0.0 Index]