ui.Interface.setName

Define the name of the current program for the front-end.

Syntax

ui.Interface.setName(
   name STRING )
  1. name is the identifier of the program.

Usage

Use the ui.Interface.setName() class method to define the identifier for the program to be used by the front-ends. Default is the program file name (without .42m or .42r extension).

The name passed to this method will be passed to the front-end in order to identify the program. The front-end uses the program name for stored settings storage, connection list panel, etc.

Call the method at the beginning of the program, before any interactive instruction.