Unobvious (?) techniq

new topic     » goto parent     » topic index » view thread      » older message » newer message

Larry,

L> the functions required. TMLS, Depatment head ran my compiled code, Grade
L> got changed to A+.
L>
L> Meat of algorithm in pseudocode is
L>         Var1=[somevalue]
L>         Var2=[somevalue]
L>         Var1=Var1 xor Var2
L>         Var2=Var2 xor Var1
L>         Var1=Var1 xor Var2

Now THAT is new for me. I like it. Had to get a scratch pad and run
through an example to verify.

L> Don't rember where I got this from but have used it since the old C= 64
L> days, heck when you only had 64K you had to do every thing possible to
L> save memory.

Recall the days, but I was on an Atari. <g>

---
 * SRP 2.00 #2663 *

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu