:

goToGen="]]]]]]]]]]}"


if( test -r session.dat) then
   testStr=`grep Max: session.dat`
   if(test "$testStr") then 
     echo Generator is already prepared!
     exit 1
   fi
fi 
   

if(test $# -ne 3) then
   echo ERROR!. $0 need three parameters:
   echo "     1. number of cubes;" 
   echo "     2. number of calls for a cube for random search."
   echo "     3. number of steps for a cube Simplex search." 
      exit 1
   else 
       n_calchep -blind $goToGen}$1}]}$2}]}$3}]}{9
fi 
