Other B4i v7.50 has been released

Erel

B4X founder
Staff member
Licensed User
Longtime User
I'm happy to release a new version of B4i.
This update brings the recent IDE performance improvements, new language features and more.

  • IDE performance - several cases where the typing speed became slow were fixed. The speed difference in those cases is significant.
  • IIf - Inline If, also called ternary if as it is an operator with three arguments.
    B4X:
    Label1.Text = IIf(TextField1.Text <> "", TextField1.Text, "Please enter value")
  • As - Inline casting. Allows inline casting from one type to another. Some examples:
    B4X:
    Dim Buttons As List = Array(Button1, Button2, Button3, Button4, Button5)Dim s As String = Buttons.Get(2).As(B4XView).Text
    Buttons.Get(2).As(B4XView).Text = "abc"
    Dim j As String = $"{"data": {
    "key1": "value1",
    "complex_key2": {
    "key": "value2"
    }
    },
    "items": [0, 1, 2]
    }"$
    Dim parser As JSONParser
    parser.Initialize(j)
    Dim m As Map = parser.NextObject
    Dim value1 As String = m.Get("data").As(Map).Get("key1")
    Dim value2 As String = m.Get("data").As(Map).Get("complex_key2").As(Map).Get("key")
    Dim FirstItemInList As String = m.Get("items").As(List).Get(0)
    For Each item As Int In m.Get("items").As(List)
    Log(item)
    Next
    Root.GetView(8).As(WebView).LoadUrl("https://www.google.com")
    More information: https://www.b4x.com/android/forum/threads/b4j-v9-10-is-available-for-download.132498/
  • b4xlibs support class templates, this makes it possible to add B4XPages classes from B4i.
  • Updated internal libraries: iWebSocket, iFirebaseAuth, iFacebook, iDebug2 and iCore.
  • Bug fixes and other minor improvements.

Developers who are eligible for free upgrades will receive an email with installation instructions. Other developers will receive a discount offer.
 

astronald

Active Member
Licensed User
Longtime User
Hi, have nice day, version iCore is not update.

Version.png


icore.png

How i can update manually?

thanks Erel,
thanks to all!
 
Upvote 0

fbritop

Active Member
Licensed User
Longtime User
I´m having an error after the update, not sure to what Lib it belongs

Uknown member: addlongpressgesture

Clicking on the error wont take me anywhere, so I asume it should be in some lib around?

Thanks
FBP
 
Upvote 0
Top