Author Topic: HalBrain.TopicSearch (help)  (Read 2779 times)

mikmoth

  • Jr. Member
  • **
  • Posts: 53
    • View Profile
    • http://karigirl.com
HalBrain.TopicSearch (help)
« on: July 20, 2004, 02:18:58 am »
I'm maturing into your intermediate Hal programmer...! But I need some help.

When calling the HalBrain.TopicSearch I found out some screwy things.
I'm guessing this is by design but I'm not sure.

When I use a HalBrain.TopicSearch Hal isn't very choosy as to what it looks for in the .brn. You might have two phrases that are almost identical and Hal will choose one or the other. In my case, I need Hal to be very specific as to the TopicSearch - not make guesses as to which is close enough to match.

Why does TopicSearch do this? Am I missing something?

Mik
 

spydaz

  • Hero Member
  • *****
  • Posts: 670
    • View Profile
    • http://www.spydazweb.co.uk/
HalBrain.TopicSearch (help)
« Reply #1 on: July 20, 2004, 05:42:35 am »
HI BRO...

IM NOT SURE agin how i was using topicSEARCH "oh yea" only as is topicsearch = " ITEM " = "TRUE" IE: only as a KEYWORD detector for keyword FILES...

THE closesty match WAS HALBRAIN.FragmentMATCH  This one was a much more better search (usually for Q&Afiles) but when using sentence file it often is SPOT ON...


I have been having SIMULAR probs....

I WROTE A MINI FUNTION whe HAL looks in a text file and detects any word, IDEAL... BUT getting the script to read from the SAME LINE as it detected the TEXT is another story..

I am just learning Visual basic NOW ... HOW DO YOU in VB Read from a specific line in a text file? I can detect Which linenumber it found data but getting it to read from that SPECIFIC line. "A LOT OF OPENING & CLOSING OF TEXTSTREAM file/objects)

Using the filesystemobject.... Using the TEXTstreamOBJECT


IM NOT TO SURE which is best...

IM just testing now...

MY OWN vbproject IS Nearly the SAME as the ZABAWARE model.... All of the brain has now been converted in to REAL VB6.. IN MY OWN VBform..


Check it out http://HTTP://www.spydazweb.GOTDNS.COM/FTPspydaz