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

D.6.4.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: modality FastBack: FastForward: Up: classify_lib Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 4.3.2, 2023, generated by texi2html.