NXT_GetCurrentProgramName
Returns the name of the current running program
Contents
Syntax
[name prog_run] = NXT_GetCurrentProgramName()
[name prog_run] = NXT_GetCurrentProgramName(handle)
Description
[name prog_run] = NXT_GetCurrentProgramName() returns the name of the current running program. and the boolean flag prog_run (false == no program is running).
[name prog_run] = NXT_GetCurrentProgramName(handle) uses the given NXT handle.
If no NXT handle is specified the default one (COM_GetDefaultNXT) is used.
Examples
name = NXT_GetCurrentProgramName();
handle = COM_OpenNXT('bluetooth.ini');
name = NXT_GetCurrentProgramName(handle);
See also
NXT_StartProgram, NXT_StopProgram,
Signature
- Author: Alexander Behrens (see AUTHORS)
- Date: 2008/10/18
- Copyright: 2007-2010, RWTH Aachen University