Cobra Interactive Query Language dot (.)

NAME

: — execute a named script

SYNTAX

	: scriptname

DESCRIPTION

The colon command is used to executed a previously defined named script.

If the name is unique, and does not conflict with the name of an existing command, the colon prefix can also be omitted.

If the script takes arguments, these are written after the script name, optionally enclosed in round braces.

EXAMPLES

	: : non_unique_scriptname	# use : to identify the name as a script
	: scriptname			# if the name is unique, no colon is needed
	: scriptwithargs foo bar
	: scriptwithargs(foo, bar)

SEE ALSO

def

Return to index
Manual
Tutorial
(Last Updated: 8 May 2017)