Home Online Manual
Top
Back: ordstr
Forward: pardeg
FastBack: Functions and system variables
FastForward: Control structures
Up: Functions
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

5.1.111 par

Syntax:
par ( int_expression )
Type:
number
Purpose:
par(n); returns the n-th parameter of the basering.
Example:
 
  ring r=(0,a,b,c),(x,y,z),dp;
  char(r);  // char to get the characteristic
==> 0
  par(2);   // par to get the n-th parameter
==> (b)
See char; npars; parstr; ring; var.