Lazarus
Free Pascal => Beginners => Topic started by: hellohello234 on June 05, 2021, 04:10:28 pm
-
Hello! For a school project I needed to program a tool that calculates the average of weighted numbers. I wrote the code below, and I don't know why I get an error and how to fix it. It says: Error: operator is not overloaded: "Ansistring" * "Ansistring". I'm a beginner with this, can someone help me out?
-
You can't multiply strings. You have to convert them to a numeric type first.