Update 6-12_transact-basics.asciidoc: had an idea to make it a bit cleaner

I like this version a little better.  Depending on your opinion, I might even suggest removing the comment in the code, since it is just a duplicate of the what the text says.  Do you think it should stay or go?
Alan