Skip to content
Skip to main navigation
Skip to first column
Skip to second column
Singular
Search
Download 4-3-0
Try Online
Online Manual
Graphical Interface
Report Bugs
Books
Teams
Join Us
Home
Online Manual
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
Main
Home
News
Publications
How to cite Singular
Community
Forum
Trac
Events
Mailing List
Blog
System
New Libraries
Source Code
Open Tasks
Third-party software
Misc
Links
Contact
Impressum
Internal