Wish #LibraryVersion not accepting non decimal values

sorex

Expert
Licensed User
Longtime User
Hello,

I was updating a library/wrapper thing and noticed that I couldn't get the version visible in B4A.

After a hint from erel that I had to use #LibraryVersion: I gave it another attempt.

I got some compilation errors with

B4X:
#LibraryVersion: 3.1.17

while

B4X:
#LibraryVersion: 3.117

compiles and displays the version in the libs pane.


It seems that the version is checked with some regex/isnumber kind of code.

Is this needed as long as it only contains numbers and dots?

third party libs usually use these 5.2.12.3 kind of versions so it makes sense that we can follow these aswell.
 
Top