|
3.5.3 NamesSINGULAR is a strongly typed language. This means that all names (= identifiers) have to be declared prior to their use. For the general syntax of a declaration, see the description of declaration commands (see General command syntax).
See Data types, for a description of SINGULAR's data types.
See typeof, for a short overview of possible types. To get information
on a name and the object named by it, the It is possible to redefine an already existing name if doing so does not change its type. A redefinition first sets the variable to the default value and then computes the expression. The difference between redefining and overriding a variable is shown in the following example:
User defined names should start with a letter and consist of letters and
digits only. As an exception to this rule, the characters
Names must not coincide with reserved names (keywords). Type
The most recently printed expression is available
under the special name
A string_expression enclosed in
|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |