I'm trying to create a character array that consists of the same starting and ending character, and in between, I want six sections composed of 10 spaces followed by a vertical divider.

Here is what I tried to do:

TestLine db 0BAh, 6 dup(10 dup(20h), 0B3h), db 0BAh

It's turning out as garbage text.  What did I do wrong, and what would be the correct way to do this?
Posted on 2011-11-03 22:57:08 by Peard