Cobra Inline Programs predefined values

NAME

predefined values and token references

DESCRIPTION

There are a small number of predefined, read-only values that can be used in inline programs. The predefined token references are:
	Begin	# the first token in the sequence for this core
	End	# the last token in the sequence for this core
	first_t	# the first token in the complete input sequence
	last_t	# the last token in the complete input sequence
Next, the following integer and boolean values are predefined:
	cpu	# the id of the currently executing core
	core	# a synonym for cpu
	ncpu	# the total number of cores being used
	ncore	# a synonym for ncpu
	terse	# a boolean that defines if the program is executed
		# in verbose or terse mode
All these values and references are read-only, so they cannot be modified inside inline programs. The number of cores used and the choice between terse and verbose execution can be modified with standard query commands outside inline programs.

Inline Programs
Manual
Tutorial
(Last Updated: 11 May 2019)