|
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
|
|