The value your code is trying to assign to a variable doesn't match the variable's "type". Variables types are numeric, string, array, etc. These are valid A$="hello" A=42 B$=A$ B=A These are invalid A$=73 A="bye bye" B$=A B=A$