Swap instruction

Post your requests and ideas on the future development of mikroBasic PRO for dsPIC30/33 and PIC24.
Post Reply
Author
Message
nervous
Posts: 80
Joined: 13 Feb 2007 08:35
Location: Italy

Swap instruction

#1 Post by nervous » 30 Mar 2012 14:13

Hello.

Sometime is very useful swap some variable...

Code: Select all


dim a,b as word

a=1
b=2

swap a,b

'
'  now a=2, b=1
' 
Cheers
Nervous

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: Swap instruction

#2 Post by filip » 02 Apr 2012 10:03

Hi,

Thank you for your proposal, I will pass it to our developers.

Regards,
Filip.

Post Reply

Return to “mikroBasic PRO for dsPIC30/33 and PIC24 Wish List”