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
 

mjcoon

Well-Known Member
Licensed User
I just found the "Basic4android" software ...

If you are really enquiring about Android you would do better to switch to the Android forum; it is separate from this one which is for PPC...

Mike.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…