//const int RMAX = 100;
   //const int RMIN = 50;
   srand((unsigned)time( NULL ));   for(int i = 0;  i < 10; i++)
   {
      CString sz;
      //sz.Format("  %6d\n",   rand()%RMAX + RMIN); 
      sz.Format("  %6d\n",   rand()); 
      AfxMessageBox(sz);
   }