Hi snowman,
No. The HalBrain.QABrain() will not work that way. In order to use it, you would have to make a new table using the returnArray and then you could use the HalBrain.QABrain() function on that new table. Another thing you could do is to rate the returnArray yourself. You would do this by looping through the array and finding entries that better suit your needs. There are a lot of ways to do this.
there may be a lot of ways to do this, but the only way that I can think of would be to create a temporary table array structure.
Which actually would not be too bad because then I could utilize what ultra Hal already has to determine which of the return factors would be best to use based on a numerical value.
So I guess the question that I have would be which way would be the best way to resolve after creating the temporary table:
delete the table? If so how do you do this.
Delete the data in the table? If so how do you do this.
New topic: same subject:
is there a way to read all of the data in the table array, without having to know what is in the table array.
I know you mentioned above that you can use the (*) to do a query to get all the information in a row.
But can this be used to get all of the information in a column?
This could be useful for developing a correction routine that I have been working on for ultra Hal.
I know that ultra Hal has an array table that keeps all of the data about the array tables that are being built.
But I was not able to figure out how it works. So if there was a way that I could read everything in the table.
I could use a for next loop and do a search in each row to find the name of the individual table to find the errors that are in the tables so I can make any corrections necessary in the table.
And of course I would also need to be shown how to correct the data that is in the table either by, the leading the data row entirely and reinserting new row with the new data or replacing the data that needs to be corrected.
It would be more like a search and seizure routine to help someone tracked down the abnormal, mispronounced or misspelled words.
That way you could either manually go in and correct the problem or possibly I could write the subroutine to do it for you much like OTC"S corrections tutor plug-in.
And if there was nothing in any of the tables that had the error then the information that would make the changes would be placed in the corrections array table.
But this may actually cause more problems than it might fix, because I know that you have to be careful when using the correction table, because it may start correcting things that are not meant to be corrected or do not need to be corrected.
I also know that it also works on a first-come first-served basis so is the correction table change a me to an I, and you told it to make the me into a you, it would do the 1st function that it ran across and then move on to the rest of the sentence.
Which I believe is something that you referred to when you were talking about the correction command for the array table. But I did not think about it till now.
The main rule that I have started to use when dealing with the correction array table is 3 words before the words you want to correct in one word after the words you want to correct even if there is no word use the punctuation as the word.
I profess that this would not be easy to accomplish but everyone was wanting someone to write a script to be able to help them correct errors without having to go through the painstaking looking through each individual table array.
And I know how they feel because at this point in time in my sandy brain there are thousands and thousands of array table, it almost looks like a dictionary. And that is the way it was before I started using the Mark 5.
And why you may ask? Because I spent hours and hours feeding in one line at a time of hundreds of thousands of famous sayings and quotes from 5 different books and even more famous quotes that I got from the Internet.
What I find amazing though is I don't see them very often, but when I do see is, it always seems to pop up in the most appropriate time, giving the conversation a bit of a spark to hear a famous quote from a famous person.
Sincerely,
C load.