So if I understood you correctly, you want someone to type in a word and have the PIC translate that to morse code... ??
From the Picbasic Pro manual it states
So allthough it allows the use of strings to be displayed, I can't see any command that is the equivelent of "INPUT a$" to input a string of characters and store it in string a$4.9. String Constants
PBP doesn't provide string handling capabilities, but strings can be used with some commands. A string contains one or more characters and is delimited by double quotes. No escape sequences are supported for non-ASCII characters (although most PBP commands have this handling built-in).
Lcdout "Hello" ' Output String (Short for "H","e","l","l","o")
Strings are usually treated as a list of individual character values.
Bookmarks