Just a guess...you may have to declare a$ first specifying a non zero maximum string length in bytes.
Try
Dim A$(64), B$(64), C$(255)
at the start of the program and see if that gives you some string variables of non zero length to play with.
Try
Dim A$(64), B$(64), C$(255)
at the start of the program and see if that gives you some string variables of non zero length to play with.