C Chris2 Well-Known Member Licensed User Longtime User Sep 23, 2021 #1 I've noticed that when I declare an instance of the class I posted here - https://www.b4x.com/android/forum/threads/customlistview-multiselections-for-desktop.133812/, E.g. B4X: Copy Private clvSelect As CLVSelections_Desktop and hover over the class name in the declaration (over the text 'CLVSelections_Desktop') I get an error popup and in the log saying: B4X: Copy [IDE message - 3:14:25] An error occurred. An error occurred while parsing EntityName. Line 1, position 214. Depending on whether you count the two comment lines in the class, position 214 is I think either the space in 'select with' of the second comment line, or the 's' of 'UnselectedTextColor'. The class seems to be working as expected. Can anyone tell me what the error is?
I've noticed that when I declare an instance of the class I posted here - https://www.b4x.com/android/forum/threads/customlistview-multiselections-for-desktop.133812/, E.g. B4X: Copy Private clvSelect As CLVSelections_Desktop and hover over the class name in the declaration (over the text 'CLVSelections_Desktop') I get an error popup and in the log saying: B4X: Copy [IDE message - 3:14:25] An error occurred. An error occurred while parsing EntityName. Line 1, position 214. Depending on whether you count the two comment lines in the class, position 214 is I think either the space in 'select with' of the second comment line, or the 's' of 'UnselectedTextColor'. The class seems to be working as expected. Can anyone tell me what the error is?
C Chris2 Well-Known Member Licensed User Longtime User Sep 23, 2021 #2 Sorry everyone, as often happens typing out the problem made my mind come up with a couple of possible solutions and I can answer my own question.... The problem seems to be caused by the '&' in the second comment line at the top of the class module. Changing these to 'and' removes the error. Last edited: Sep 23, 2021 Upvote 0
Sorry everyone, as often happens typing out the problem made my mind come up with a couple of possible solutions and I can answer my own question.... The problem seems to be caused by the '&' in the second comment line at the top of the class module. Changing these to 'and' removes the error.
Erel B4X founder Staff member Licensed User Longtime User Sep 23, 2021 #3 Another option is to escape it with: & Upvote 0