My function "String Function SayAllCaps (string CurrentWord)" for some reason, is not passing a string value to the "SayLine" script. The line that I placed in the script to call the function is "SayString (SayAllCaps (GetWord ()))". With out this line I am able to compile the file, however when the calling line is present I get a message which says "Perametor 1 to SayString should be of type string not int". I have made the script work by changing the return value to void and replacing the return statements in the user defined function with say string statements. I also changed the line in the calling script to "SayAllCaps (GetWord))". I would really like to know however why it seemed to refuse to return a string value to the calling script. I would really like to hear what any one thinks. Thanks in advance! Barry - Visit the jfw ml web page: http://jfw.cjb.net
