spnDelBlock: Delete a block from the current group of blocks

Description Usage Arguments Value Author(s) See Also Examples

Description

Delete a block from the current group of blocks. You can delete all blocks <ALL> or the entire group <GROUP>. If you want to open a block, a group of blocks (even empty) must be present.

Usage

1
spnDelBlock(Block)

Arguments

Block

- character string of the name of the block to be deleted. – <ALL> will delete all the block leaving empty group of blocks. – <GROUP> will close current group of blocks leaving only the console behind.

Value

spnDelBlock returns TRUE if successful, FALSE - otherwise.

Author(s)

Teodor Krastev

See Also

spnOpenBlock , spnOpenGroupOfBlocks , spnSaveBlock

Examples

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

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

# delete a block
spnDelBlock("test2")

# Release of Spectrino
#spnFree(TRUE)

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