Top
Back: minIntRoot
Forward: involut_lib
FastBack: central_lib
FastForward: involut_lib
Up: dmod_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document
7.5.2.0. varnum
Procedure from library dmod.lib (see dmod_lib).

Usage:
varnum(s); string s

Return:
int

Purpose:
returns the number of the variable with the name s
among the variables of basering or 0 if there is no such variable

Example:
 
LIB "dmod.lib";
ring X = 0,(x,y1,z(0),tTa),dp;
varnum("z(0)");
==> 3
varnum("tTa");
==> 4
varnum("xyz");
==> 0


Top Back: minIntRoot Forward: involut_lib FastBack: central_lib FastForward: involut_lib Up: dmod_lib Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 3-0-4, Nov 2007, generated by texi2html.