Chris Guanzon Active Member Licensed User Longtime User Jul 13, 2021 #1 I opened my existing app with b4a 11 beta and got this error B4X: Copy B4A Version: 11.00 BETA #1 Parsing code. Error Error parsing program. Error description: iif is not a valid identifier. Error occurred on line: 329 (ASViewPager) Private Sub IIF(c As Boolean, TrueRes As Object, FalseRes As Object) As Object and this in logs (iif is not a valid identifier.) What seems to be the problem? I tried removing the asviewpager but it still doesn't worked.
I opened my existing app with b4a 11 beta and got this error B4X: Copy B4A Version: 11.00 BETA #1 Parsing code. Error Error parsing program. Error description: iif is not a valid identifier. Error occurred on line: 329 (ASViewPager) Private Sub IIF(c As Boolean, TrueRes As Object, FalseRes As Object) As Object and this in logs (iif is not a valid identifier.) What seems to be the problem? I tried removing the asviewpager but it still doesn't worked.
klaus Expert Licensed User Longtime User Jul 13, 2021 #2 IIf is not s Sub! Look HERE. An example: B4X: Copy Label1.Text = IIf(EditText1.Text <> "", EditText1.Text, "Please enter value") Upvote 0
IIf is not s Sub! Look HERE. An example: B4X: Copy Label1.Text = IIf(EditText1.Text <> "", EditText1.Text, "Please enter value")
Chris Guanzon Active Member Licensed User Longtime User Jul 13, 2021 #3 But I am not using IIf. This is an old app, I just opened it to update the app. Upvote 0
Alexander Stolte Expert Licensed User Longtime User Jul 13, 2021 #4 Chris Guanzon said: Error occurred on line: 329 (ASViewPager) Click to expand... there is an update available for the asviewpager. Upvote 0
Chris Guanzon said: Error occurred on line: 329 (ASViewPager) Click to expand... there is an update available for the asviewpager.
Alexander Stolte Expert Licensed User Longtime User Jul 13, 2021 #5 i used iif before it was cool and build in in b4x. Upvote 0
Chris Guanzon Active Member Licensed User Longtime User Jul 13, 2021 #6 I looked into your AS Views overview and downloaded asviewpager.b4xlib, It still 1.07 and not 1.15. where can I download the updated one? https://www.b4x.com/android/forum/threads/b4x-xui-as-viewpager-based-on-xcustomlistview.116709/ Upvote 0
I looked into your AS Views overview and downloaded asviewpager.b4xlib, It still 1.07 and not 1.15. where can I download the updated one? https://www.b4x.com/android/forum/threads/b4x-xui-as-viewpager-based-on-xcustomlistview.116709/
Alexander Stolte Expert Licensed User Longtime User Jul 13, 2021 #7 Chris Guanzon said: It still 1.07 and not 1.15. Click to expand... no, its 1.15. Do you still have the old b4xlib in an internal library folder? Upvote 0
Chris Guanzon said: It still 1.07 and not 1.15. Click to expand... no, its 1.15. Do you still have the old b4xlib in an internal library folder?
Chris Guanzon Active Member Licensed User Longtime User Jul 13, 2021 #8 It's ok now, thanks a lot @Alexander Stolte I really appreciate your help. Upvote 0
klaus Expert Licensed User Longtime User Jul 13, 2021 #9 In your case you define a Sub with IIf: Private Sub IIf But, since version 11.0 IIf is now a reserved word, therefore the conflict. Upvote 0
In your case you define a Sub with IIf: Private Sub IIf But, since version 11.0 IIf is now a reserved word, therefore the conflict.