'Activity module
Sub Process_Globals
Dim PageNumber,CatNum As Int
End Sub
Sub Globals
Dim btnTest As Button
End Sub
Sub Activity_Create(FirstTime As Boolean)
btnTest.Initialize ("new")
If FirstTime Then
PageNumber=0
CatNum=0
btnTest.Text = "Second Activity"
Activity.AddView (btnTest,0,0,200,200)
End If
End Sub
Sub Activity_Resume
End Sub
Sub Activity_Pause (UserClosed As Boolean)
End Sub
Sub new_Click
Log ("PageNumber = "&PageNumber)
Log ("CatNum = "&CatNum)
StartActivity (Increment)
End Sub