puzzling code
- Posted by joshua goldberg <futures8 at bellsouth.net> Aug 22, 2001
- 383 views
Hi, All. While studying Matt Arriola's Crypt.ex code (Recent User Contibutions), I found a line of code which I'm at a loss to understand. Simulated code follows; -- begin code with trace sequence bits object dummy trace(1) bits = "11000111001111000011100110101011" bits -= '0' <--- what's this doing??? dummy = 21 -- has no meaning ... here just for the trace -- end code if you run the above which trace on, and watch the display of variables under the trace window, you'll see how the line "bits -= '0' transforms the sequence bits. Can somebody explain what's happening ? Appreciate any help.