S Sergey_New Well-Known Member Licensed User Longtime User Apr 28, 2021 #1 Erel wrote earlier: B4X: Page2.SomeSubThatConfiguresEverythingNeeded(a, b, c, 100, 200) B4XPages.ShowPage("page 2") What do the parameters a, b, c, 100, 200 mean?
Erel wrote earlier: B4X: Page2.SomeSubThatConfiguresEverythingNeeded(a, b, c, 100, 200) B4XPages.ShowPage("page 2") What do the parameters a, b, c, 100, 200 mean?
LucaMs Expert Licensed User Longtime User Apr 28, 2021 #2 It's just an example on how to show a B4XPage by passing (any number and type) parameters to it. So, they are examples. Of course, in that example, your "Page2" should have a Public Sub like: B4X: Public Sub SomeSubThatConfiguresEverythingNeeded(a As Int, b As Double, c As Long, d As Int, e As Int) Upvote 0
It's just an example on how to show a B4XPage by passing (any number and type) parameters to it. So, they are examples. Of course, in that example, your "Page2" should have a Public Sub like: B4X: Public Sub SomeSubThatConfiguresEverythingNeeded(a As Int, b As Double, c As Long, d As Int, e As Int)
DonManfred Expert Licensed User Longtime User Apr 28, 2021 #3 Sergey_New said: What do the parameters a, b, c, 100, 200 mean? Click to expand... It is just an example. You can define any parameters you want in SomeSubThatConfiguresEverythingNeeded Upvote 0
Sergey_New said: What do the parameters a, b, c, 100, 200 mean? Click to expand... It is just an example. You can define any parameters you want in SomeSubThatConfiguresEverythingNeeded