command SWAP bug
Posted: Mon Aug 13, 2007 12:00 pm
I think so, there is a bug with SWAP. Look at:
[code]
`swap_test by PaPi
dim word1 as string,word2 as string
dim i1 as integer,i2 as integer
word1="first"
word2="second"
i1=1
i2=2
showmessage word1+chr$(9)+word2+chr$(9)+str$(i1)+chr$(9)+str$(i2)
swap word1 word2
swap i1 i2
showmessage word1+chr$(9)+word2+chr$(9)+str$(i1)+chr$(9)+str$(i2)
[/code]
Why????
PaPi