thrownewParseException($"Unknown operation \"{components[0]}\"\n\tat line {lineIndex}");
}
}
intopcode=library.nameResolution[components[0]];
intopcode=library.nameResolution[components[0]];
@ -63,7 +71,9 @@ namespace SuperBASIC
if(arity!=components.Length-1)
if(arity!=components.Length-1)
{
{
thrownewParseException("Operation "+components[0]+" was provided with the wrong number of arguments: Expected "+arity.ToString()+" found "+(components.Length-1).ToString());
thrownewParseException($"Operation {components[0]} was provided with the wrong number of arguments\n\tExpected {arity} found {components.Length-1}\n\tat line {lineIndex}");