DUELink Scripting Language error reporting

I believe some clarification is needed regarding error reporting in the scripting language.

In the examples below, I’m not sure what the number signifies. Initially, I thought it might represent the character position within the line, but that was incorrect. Is it an error number? Is there an error number table available somewhere?

>println(“test”

test!expected ‘)’:1

>println(+)

!syntax error:1

>println(“test”):println(

test

!syntax error:1

>

What’s even more challenging is when a stored script encounters an error. The error information outputted appears to point out the issue with the erroneous statement but fails to specify the exact line within the script where the error occurred.

Thoughts?

That should be the line number but since your program is a single line, or in immediate mode, then it is always 1

Adding the character position would be nice in the future