EasyManua.ls Logo

Kollmorgen AKD Basic

Kollmorgen AKD Basic
506 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
AKD BASIC User Guide | 6 AKD BASIC Parameters, Operators, Statements
6.1.21 Swap
General Information
Type Statement
Description Exchanges the value of two variables.
Units N/A
Range N/A
Default
Value
N/A
Data Type N/A
Start Ver-
sion
TBD
Description
Exchanges the value of two variables. The two variables must be both numeric (floating point of
integer) or both strings.
Example
Main
dim A$, B$ as string
A$ = "Hello"
B$ = "Good-bye"
print A$, B$
Swap A$, B$
print A$, B$
End Main
Related Topics
Statement Table(1)
119 Kollmorgen | March 30, 2012

Table of Contents

Related product manuals