CoCoA:Alias In

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)

Alias In

temporarily override global aliases

Description

This command allows one to use the aliases defined by the B_i's in

the command sequence C without affecting the global aliases.

Example

  Alias GB := $man/help In
    GB.Man(<quotes>Alias In</quotes>);
  EndAlias;
============ Alias In =============
   ---&gt; Output suppressed &lt;---
-------------------------------
  I := Ideal(x^2, y);
  G := Res(I);
  GB.GetBettiMatrix(I);     -- the global alias GB is unaffected
   ---&gt; Output suppressed &lt;---
-------------------------------

Syntax

Alias B_1,...,B_r In C EndAlias

where each B_i is a <em>binding</em> of the form: Identifier := $PackageName,
and C is a command sequence.

Alias

Introduction to Packages

   <type>packages</type>