View Single Post
Re: megaHAL enthusiasm
Old
  (#3)
Cheeseh
[rcbot]
 
Cheeseh's Avatar
 
Status: Offline
Posts: 361
Join Date: Dec 2003
Location: China
Default Re: megaHAL enthusiasm - 05-01-2004

alright. Thanks for the info.

The thing I don't get with the Make words function above is, the fact you have an input string called "input" and you find words from it.

If you are trying to find a word, I understand the offset thing where it is incrementing the point from the start of the word you want, yeah? So you make a word equal a point in the input string, but what you actually stored is the whole string from a certain point, so it's not actually a word?

It's difficult to explain.

I basically needed to change it because of the memory, I don't know if the words need to be stored for later use, so I create a new word and keep it there.

so, do the words in input_words array need to given memory for use later in the program? Or can it be freed after using them in the HAL_Learn function for example.
  
Reply With Quote