Kiffi Well-Known Member Licensed User Longtime User Dec 3, 2018 #1 Hello, with this simple code-snippet... B4X: Sub GetElement(ID As String) As BANanoElement ID = ID.ToLowerCase Return BANano.GetElement(ID) End Sub ... i get the following Error: ERROR 29: [Demo2,getelement, around line: 51] tolowercase is not supported in BANanoElement! Click to expand... Thanks in advance & Greetings ... Peter
Hello, with this simple code-snippet... B4X: Sub GetElement(ID As String) As BANanoElement ID = ID.ToLowerCase Return BANano.GetElement(ID) End Sub ... i get the following Error: ERROR 29: [Demo2,getelement, around line: 51] tolowercase is not supported in BANanoElement! Click to expand... Thanks in advance & Greetings ... Peter
alwaysbusy Expert Licensed User Longtime User Dec 3, 2018 #2 I think there may be a problem with the transpiler and the return value of the method. It is quite possible a bug in the transpiler is seeing this as ID as BANanoElement (if the bug overwrites the variable type). btw, thanks for reporting such cases! Upvote 0
I think there may be a problem with the transpiler and the return value of the method. It is quite possible a bug in the transpiler is seeing this as ID as BANanoElement (if the bug overwrites the variable type). btw, thanks for reporting such cases!