SwapL
(XAPI2000)

Deklaration VB 6.0
Sub SwapL (A As Long, B As Long)
Deklaration VB.NET
Sub SwapL (ByRef A As Integer, ByRef B As Integer)
Beskrivning
Byter värde mellan två 32-bitars heltal.
Se även
Swap |
Exempel (VB 6.0)
Dim X As Long, Y As Long
X = 10
Y = 20
SwapL X, Y ' Byt värde mellan X och Y
Exempel (VB.NET)
Dim X As Integer, Y As Integer
X = 10
Y = 20
SwapL(X, Y) ' Byt värde mellan X och Y
|