Thanks for the reply and this was the cause.
I just created a new, empty bmx file, copied the function into it and I've put Strict at the top of the file and now it compiles without errors.
I commented the Strict and the error appeared.
Thanks.
I just created a new, empty bmx file, copied the function into it and I've put Strict at the top of the file and now it compiles without errors.
I commented the Strict and the error appeared.
Thanks.