Page 1 of 1

What's the DD Stand For?

Posted: Tue Oct 09, 2012 8:34 am
by oldefoxx
I have certain patterns I tend to follow when I program. I use single
letters for longs, and double letters for strings. To keep it simple, I
use aa, bb, cc, dd, ee, ff, and gg as some of my string names. These
variable are used temporarily, as I may use more specific names for
something to hold onto, such as idx is an array index reference.

I noted that the dd.s combination gets changed to DD.s by the IDE
as I add in code, but in trying to search for where DD is used, I come
up with a blank. Can anybody fill me in on this?

Re: What's the DD Stand For?

Posted: Tue Oct 09, 2012 8:43 am
by wilbert
Might be Define Dword (Asm command)

Re: What's the DD Stand For?

Posted: Tue Oct 09, 2012 11:50 am
by luis
It's like wilbert said.

Files->Preferences->Autocomplete->Displayed Items->Predefined Items->ASM Keywords

Remove the checkmark and dd will be left alone.

Re: What's the DD Stand For?

Posted: Tue Oct 09, 2012 7:07 pm
by oldefoxx
Thanks to both of you. I will do that. Going with two letter groups
is awkward in places. I can't use "as, bs, cs, ds," etc. because "as" is
word. I could do with "sa, sb, sc, sd," and so on, but never got in the
habit of it. You might think about using "ab, bc, cd, de," in place, but
"cd" and "dc" can be tricky combos in some languages. Besides, doing
them as a pair just means striking the same key twice. I've even
considered using "a1, b1, c1, d1," up to 26, then switching to "a2, b2,"
and continuing on like that, but I don't think I've ever encountered
an incident where I needed more than 8 temporary string variables.