[Yabasic-users] Re: [yabasic] Suggestion of improvement of Yabasic
Brought to you by:
psnake,
thomaslarsen
From: Hermang <her...@ge...> - 2001-04-11 16:59:59
|
Hi, The other "ugly" option would be to support something similar to pointer variables :-) then we would be able to code the swap subroutine ourselves :-) sub swap(&a, &b) ... Just kidding! bye On Fri, 6 Apr 2001, ROQUES Arnaud - NTR wrote: > Hello! > > I have a few (more) suggestion for yabasic. > > > - An instruction SWAP used to swap variable contents: > > SWAP a,b > would be equivalent to: > dummy=a : a=b: b=dummy > > Of course, SWAP a$,b$ would be possible too, as well as > SWAP a(i), a(i+1) > which would be usefull for sorting subroutine. > > Regards, > > Arnaud. > > > YABASIC > > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ > > |