May-25-2024, 08:07 PM
(This post was last modified: May-25-2024, 08:08 PM by deanhystad.)
The error message does not match your code. The line numbers disagree. How are you entering and running this code? I sometimes get an error like this using VSCode and using the run arrow. If "Run Code" is selected, VSCode runs the selected code, or the line containing the cursor. You want to use Run Program.