What's the DD Stand For?

Working on new editor enhancements?
oldefoxx
Enthusiast
Enthusiast
Posts: 532
Joined: Fri Jul 25, 2003 11:24 pm

What's the DD Stand For?

Post 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?
has-been wanna-be (You may not agree with what I say, but it will make you think).
wilbert
PureBasic Expert
PureBasic Expert
Posts: 3942
Joined: Sun Aug 08, 2004 5:21 am
Location: Netherlands

Re: What's the DD Stand For?

Post by wilbert »

Might be Define Dword (Asm command)
User avatar
luis
Addict
Addict
Posts: 3895
Joined: Wed Aug 31, 2005 11:09 pm
Location: Italy

Re: What's the DD Stand For?

Post 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.
"Have you tried turning it off and on again ?"
oldefoxx
Enthusiast
Enthusiast
Posts: 532
Joined: Fri Jul 25, 2003 11:24 pm

Re: What's the DD Stand For?

Post 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.
has-been wanna-be (You may not agree with what I say, but it will make you think).
Post Reply