//记录起点 终点的变量
int nStart1,nStart2,nStart3,nStart4;
int nEnd1,nEnd2,nEnd3,nEnd4;
if (m_nCommon1Type == 0)//如果为数字通配符
{
nStart1 = m_nStartNum1;
nEnd1 = m_nEndNum1;
}
else//如果为字母通配符
{
nStart1 = m_strStartChar1.GetAt(0); //获取ASII码值
nEnd1 = m_strEndChar1.GetAt(0); //获取ASII码值
}
if (m_nCommon2Type == 0)
{
nStart2 = m_nStartNum2;
nEnd2 = m_nEndNum2;
}
else
{
nStart2 = m_strStartChar2.GetAt(0);
nEnd2 = m_strEndChar2.GetAt(0);
}
if (m_nCommon3Type == 0)
{
nStart3 = m_nStartNum3;
nEnd3 = m_nEndNum3;
}
else
{
nStart3 = m_strStartChar3.GetAt(0); //获取ASII码值
nEnd3 = m_strEndChar3.GetAt(0); //获取ASII码值
}
if (m_nCommon4Type == 0)
{
nStart4 = m_nStartNum4;
nEnd4 = m_nEndNum4;
}
else
{
|