I am receiving an strange error message....
"syntax error: missing END in line 6 near position 1" with the following code:
Public Sub StockData(filename As String, REPORT As String, tDataTick As String)
I thought perhaps it was a missing "END IF" inside of the sub, but that was not it. I have tested it by putting an End Sub every few lines to see if the error would disappear, essentially moving some code into another sub routine. And yes, there is an "End Sub" statement at the end of the subroutine. The subroutine is about 20 pages long, so I did not post it all here, but can if needed.
I get the same error in the Linux and the Windows version of KBasic.
Any ideas?
Thanks in advance.