S sorex Expert Licensed User Longtime User Sep 15, 2017 #1 It seems that the parser doesn't catch incomplete array declarations which leads to strange errors at app start. Code: Copy Private audioBoostImages(2) As String=Array("audio_volume_low.png","audio_volume_high.png") 'should be Private audioBoostImages(2) As String=Array As String("audio_volume_low.png","audio_volume_high.png") reference > https://www.b4x.com/android/forum/threads/invalid-value-for-field.83950/
It seems that the parser doesn't catch incomplete array declarations which leads to strange errors at app start. Code: Copy Private audioBoostImages(2) As String=Array("audio_volume_low.png","audio_volume_high.png") 'should be Private audioBoostImages(2) As String=Array As String("audio_volume_low.png","audio_volume_high.png") reference > https://www.b4x.com/android/forum/threads/invalid-value-for-field.83950/
Erel B4X founder Staff member Licensed User Longtime User Sep 17, 2017 #2 Note that you don't need to set the array length in this case. The array type will be Object if the type is omitted. This is used in many cases.
Note that you don't need to set the array length in this case. The array type will be Object if the type is omitted. This is used in many cases.