Bug? possible parser issue with array declarations

sorex

Expert
Licensed User
Longtime User
It seems that the parser doesn't catch incomplete array declarations which leads to strange errors at app start.

B4X:
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/
 
Top