Top
Back: 5.1.128 transpose
Forward: 5.1.130 typeof
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.129 type

Syntax:

type name ;
type ( name );

Type:

none

Purpose:

prints the name, level, type and value of a variable. To display the value of an expression, it is sufficient to type the expression followed by ;.

Example:
 
  int i=3;
  i;
→ 3
  type(i);
→ // i                    [0]  int 3

See Data types; listvar; print.


Top Back: 5.1.128 transpose Forward: 5.1.130 typeof 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.