I created a topic but the code wasn't showing. I later realized I didn't format the code so it would show so I created a new topic with the code. I thought I could select "edit" on the original topic to delete it but that was not the case. Is there a way to delete?
We can delete it for you. I believe you can delete a topic within a time span of a few minutes. You should be able to edit the post during that same period, so if your post doesn't look correct you can go back in and fix it.
If nothing else, post the corrected code into a new post rather than a new topic. We can move the post to the OP and all will be well.