Top
Back: debug_log
Forward: curvepar_lib
FastBack: arcpoint_lib
FastForward: curvepar_lib
Up: classify_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.6.3.14 swap

Procedure from library classify.lib (see classify_lib).

Usage:
swap(a,b);

Return:
b,a if a,b is the input (any type)

Example:
 
LIB "classify.lib";
swap("variable1","variable2");
==> variable2 variable1

Top Back: debug_log Forward: curvepar_lib FastBack: arcpoint_lib FastForward: curvepar_lib Up: classify_lib Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 3-1-2, Oct 2010, generated by texi2html.