Zabaware Support Forums
Zabaware Forums => Programming using the Ultra Hal Brain Editor => Topic started by: Bill819 on September 09, 2003, 05:53:56 pm
-
I type in a text file which was opened by hal. Then I tried to get hal to read it with no luck. What am I doing wrong? The file contained the words to the old song "Daisey" as sung by the original Hal 9000 computer in '2001 A Space Oddesy'.
Any help would be appreciated.
Thank
Bill
-
-Looking into it
there are the Functions called
HalBrain.ReadSent(ByVal TextString As String,ByVal SentNum As Integer) As String
HalBrain.SentenceGenerator(ByVal File_Name As String) As String
Mebbe there is a way to read in all of the lines in the file into a variable and have
Hal say the variable. Hmmm, since I am now running the 5.0 beta, there is no cushy
Brain Editor to program from...gotta do it the old fashioned way!! If HB.ReadSent
don't work, there may be another way to do it. >B) get back to you
CatAtomic '-helping to bring tomorrows Hal here today!' >B)
-
I found that if I copied the document from MS Wordpad to Hals HalPad I could get the document read out loud. One problem is that Hal will not load HalPad upon command. But once in HalPad you can open any document file on your system.
Thanks for the input
Bill