In general, could you use the "Edit Post" button, rather than making several posts before someone has a chance to respond.
I cannot help you with your editor problem, I'm afraid (I don't use DBPro) but it seems like you're the only one having the issue (thus, it isn't a Windows or poorly constructed editor). Here's what I would suggest, create a new blank project with the single source file. Try to compile and run it. If it still doesn't work, try going back to the original IDE. Try the same thing. If that STILL doesn't work, I'm inclined to believe that a setting got messed up somewhere. Completely uninstall then reinstall DarkBASIC, then try again. If it still gives you trouble, come back and post EXACTLY WHAT YOU DID (what buttons you pressed, in what order). Screenshots are helpful too as someone may know what little thing to look for.
As for your array problems, keep in mind that I use DarkBASIC (not Pro) but as far as I know, you cannot initialize 2 arrays on a single line. Try:
DIM TextSet$(20,100)
DIM CharStat$(10)
As for finding the lowest value, if you have 2 variables, it would be easiest to use IF/ELSE/ENDIF . For an array, you would need to create a function that would operate like this:
function lowest()
lowNum=array(0)
for i=1 to arraySize
if array(i)<array(0) then lowNum=array(i)
next i
endfunction lowNum
Where the variable arraySize is however large you've dimensioned your array to be.
If you wanted to compare across multiple arrays, you'd need to run the function for several arrays (which would get tricky since you cannot pass an array as a function argument) and then use an IF/ELSE/ENDIF structure on it.
Clear Entry Buffer() only works in conjunction with the Entry$() function. Inkey$() only shows what is being pressed down, so you don't need to clear it (when you stop pressing the button, it resets to "" automatically). Note that none of these will stop you from getting a string of characters in a row, since your program is still going over that line of code ~30 times a second, so you will need some code to ensure that each press is only handled once.
Great Quote:
"Time...LINE??? Time isn't made out of lines...it is made out of circles. That is why clocks are round!" -Caboose