<< finish engine getpid >>

getnelsonmode


Returns current Nelson mode.


Syntax


m = getnelsonmode()

Output argument


m

a string.

Description


getnelsonmode() returns current Nelson mode used.

There are 5 modes:

BASIC_ENGINE: Nelson used as engine without any graphics.

ADVANCED_ENGINE: Nelson used as engine with graphics/gui.

BASIC_TERMINAL: Nelson launched as terminal without graphics.

ADVANCED_TERMINAL: Nelson launched as terminal with graphics/gui.

BASIC_SIO_CLIENT: Nelson launched as socket IO client.

ADVANCED_SIO_CLIENT: Nelson launched as socket IO client with graphics/gui.

GUI: Nelson launched as a graphical application (default).

Example


getnelsonmode()

See also


executable.

History


Version Description
1.0.0 initial version

Author


Allan CORNET

<< finish engine getpid >>