CoCoA:CurrentRing

From ApCoCoAWiki
Revision as of 10:02, 24 October 2007 by XMLBot (talk | contribs) (pushing XML rev. 1.46, again)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

CurrentRing

the current ring

Description

This function returns the current ring. The related command,

<ttref>RingEnv</ttref> returns the name of the current ring.

Example

  Use R ::= Q[x,y];
  Use S ::= Z/(3)[t];
  CurrentRing();
Z/(3)[t]
-------------------------------
  Use R;
  CurrentRing();
Q[x,y]
-------------------------------

Syntax

CurrentRing()

Ring

RingEnv

RingEnvs

   <type>ring</type>