DecGlobalCommand

Extends: ESCBaseCommand < Resource

Description

dec_global name value

Subtract the given value from the specified global.

Parameters

  • name: Name of the global to be changed

  • value: Value to be subtracted (default: 1)

@ESC

Method Descriptions

configure

func configure() -> ESCCommandArgumentDescriptor

Return the descriptor of the arguments of this command

validate

func validate(arguments: Array)

Validate whether the given arguments match the command descriptor

run

func run(command_params: Array) -> int

Run the command

interrupt

func interrupt()

Function called when the command is interrupted.