active[]

Checks 'active' state.

Returns true if this G-code is actively controlling machine.
Returns false, if G-code is parsed for display only, is checked for validity or exported.

Syntax

active[]

Parameters

Return Value 1 if this G-code is actively controlling machine, 0 otherwise.

Examples

#<result> = active[]
(print,#<result>)

result: 1