Top
Back: 5.1.109 res
Forward: 5.1.111 resultant
FastBack: 5. Functions and system variables
FastForward: 6. Tricks and pitfalls
Up: 5.1 Functions
Top: Singular 2-0-4 Manual
Contents: Table of Contents
Index: F. Index
About: About This Document

5.1.110 reservedName

Syntax:

reservedName ()

Type:

none

Syntax:

reservedName ( string_expression )

Type:

int

Purpose:

prints a list of all reserved identifiers (first form) or tests whether the string is a reserved identifier (second form).

Example:
 
reservedName();
→ ... // output skipped
  reservedName("ring");
→ 1
  reservedName("xyz");
→ 0

See names; string.


Top Back: 5.1.109 res Forward: 5.1.111 resultant FastBack: 5. Functions and system variables FastForward: 6. Tricks and pitfalls Up: 5.1 Functions Top: Singular 2-0-4 Manual Contents: Table of Contents Index: F. Index About: About This Document
            User manual for Singular version 2-0-4, October 2002, generated by texi2html.