Re: [GEN] AllowAutoCorrect :)
- Posted by Kat <gertie at PELL.NET> Oct 24, 2000
- 438 views
On 24 Oct 2000, at 20:22, Dan B Moyer wrote: > At: > http://support.microsoft.com/support/kb/articles/q136/1/21.asp > > I found the following: > > New Combo Box Properties > The following table lists the new combo box properties and what each new > property does. > > New Property What it does > ------------------------------- > > AllowAutoCorrect Automatically corrects errors you make. > > Now *that's* what *I* would like Euphoria to have!!!! :) Me too. That's called massive error recovery, bordering on Ai even. Problem is, without any artificial intelligence that can second-guess what we wanted from the code, coding for every concievable error would take all of us pooling the errors and the fixes into a truely massive database. If we had an Ai that good, would we ask it to fix our code bugs, or ask it to write the correct initial code itself? Btw, Micro$oft has an Ai division, it has already been split off as a separate business entity to avoid inclusion in the current anti-trust litigation. function on_error( sequence FromAndWhat ) if ( What == "whatever" ) && ( From[1] == "function matheval" ) then -- recover code -- look at the ex.err dump file -- try to recover -- this would be a bigger code block than the whole interpreter! -- maybe returnto From[2] code end if if ( What[1] == "syntax error" ) && ( From[1] == "RDS Eu interpreter" ) then -- Thread.Kill(From[1],From[2]) -- recode/write new code to From[2] -- meaning the error handler must guess at what you want and know how to write the code that you don't know! -- Timer.delay 1s NewThread(From) end if end function on_error Kat