Hello,

I often (always?) get a compile error when calling a function with ByRef parameter(s). Here is a typical example:
Click image for larger version. 

Name:	2020-03-31_10-02-28.png 
Views:	149 
Size:	21.1 KB 
ID:	13594

The error in English would be "Illegal character in expression" (or something like that).
What is going on?

The source code is OEM and almost always contains Swedish characters åäö in comments or hard coded strings, if that matters.

Regards,
Lennart Thelander