ArrayList / DirSearch in Version 6.50

klaus

Expert
Licensed User
Longtime User
Error with ArrayList / DirSearch in Version 6.50

Hi Erel,

With the attached code there is an error in version 6.50, but it works with version 6.30.

Best regards.
 

Attachments

  • TestArrayListV6_30.sbp
    541 bytes · Views: 197
Last edited:

klaus

Expert
Licensed User
Longtime User
Thank's Erel,

Is this special to DirSearch and FileSearch because with other keywords like Control, AddEvent an so on the names are in quotes so I used by habit the the same spelling ?
In version 6.30 it worked with the quotes.

Best regards.
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Yes, most of the keywords expect to receive a string (and therefore can handle more complex expressions like "Button" & i).
Some keywords like DirSearch, FileSearch and Form.Polygon expect to receive the actual control without quotes.
In the new version the parser works a little bit harder as it needs to add the module prefix where required.
 
Top