|
7.7.3.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,t,z(0),z,tTa),dp;
varNum("z");
==> 5
varNum("t");
==> 3
varNum("xyz");
==> 0
|
|