Download Software Development
Transcript
HIGH LEVEL LANGUAGE PROGRAMMING – GETTING STARTED 3. Change the coding to: Private Sub cmdFunction_Click() Dim string_in As String Dim string_out As String Save this program as Function Tester 2 string_in = txtEnter.Text string_out = UCase(string_in) txtResult.Text = string_out End Sub Testing the UCase function Run the Function Tester 2 program. Record the results in a table, like this, adding a few tests of your own: UCase pre-defined function Input string Output string Comment Hello, world HELLO, WORLD 123 One Two Three *?&! Write a brief statement summarising the effect of the UCase function. SOFTWARE DEVELOPMENT (INT 2, COMPUTING) 73