How do I make a public sub and call it?

eben51

Member
Licensed User
Longtime User
Hey all,

I just found the "Basic4android" software and I'm using the trail version at the moment, thinking about buying it but want to try it out. I'm find it hard to find much documentation on it. At the moment I'm trying make a public sub and call it but can't find the right code to do this any help would be nice...below is what I'm getting stuck...

Sub Activity_Create(FirstTime As Boolean)
call TAB

End Sub
Sub TAB ()
Activity.LoadLayout("Laout1") 'Load the layout file.
MyNumber = Rnd(1, 100) 'Choose a random number between 1 to 99
End Sub
 
Top