Matthew's Blog

Microbit test

Along with the videos that I am making, introducing the Microbit and basic coding with the online interface, I have also made a Microbit test for any teachers that wish to assess their students and […]

Information Technology

IF THEN ELSE

Another basic example of IF THEN ELSE. procedure TForm1.btnCheckClick(Sender: TObject); var age : Integer; begin age := StrToInt(edtAge.Text); if (age>=18) then ShowMessage(‘Congratulations! You are old enough to vote!’) else ShowMessage(‘Sorry, you are not old enough […]