'Activity module
Sub Process_Globals
'These global variables will be declared once when the application starts.
'These variables can be accessed from all modules.
End Sub
Sub Globals
'These global variables will be redeclared each time the activity is created.
'These variables can only be accessed from this module.
Type typeQuestion( _
Question As String, correctAnswer As Int, _
Answer1 As String, Answer2 As String, Answer3 As String, Answer4 As String)
End Sub
Sub Activity_Create(FirstTime As Boolean)
Dim Question As typeQuestion
Question.Question = "Enrique plays tennis every Saturday. It takes him 30 minutes, each way from his house to the court and he plays for 1 hour. How much time does he spend between traveling and playing?"
Question.Answer1 = "2.5 Hours?"
Question.Answer2 = "2 Hours?"
Question.Answer3 = "1.5 Hours?"
Question.Answer4 = "3 hours?"
Question.correctAnswer = 2
Dim Questions As List
Questions.Initialize
Questions.Add(Question)
Question = Questions.Get(0)
Log(Question.Question)
End Sub
Sub Activity_Resume
End Sub
Sub Activity_Pause (UserClosed As Boolean)
End Sub