Learn Delphi Programming | Unit 17.3 | Randomizing the Elements of an Array in Delphi

Опубликовано: 22 Октябрь 2024
на канале: LearnDelphi
1,820
42

Learn Delphi Programming | Unit 17.3 | Randomizing the Elements of an Array in Delphi

Learn how to randomize the elements of an array. We randomize mathematical operators in a Char-array for the Math Quiz application we created in Modules 15.1 to 15.3.

We revisit the Math Quiz we created in Modules 15.1 to 15.3. The first version of the application only performs additions. In this lesson, we include multiplications and subtractions.

The 3 mathematical operators are assigned to the elements of an array. We randomize the operators of our math quizzes by randomizing the array's elements.

Watch these video's first:
Unit 15.1:    • Learn Delphi Programming | Unit 15.1|...  
Unit 15.2:    • Learn Delphi Programming | Unit 15.2|...  
Unit 15.3:    • Learn Delphi Programming | Unit 15.3|...  

Download projects: www.patreon.com/LearnDelphi

Enjoy concise, easy-to-understand video lessons that even a child can follow.
visual, animated explanations;
step-by-step, line-by-line walkthroughs;
theory, demo's, exercises, challenges;
regular new lessons;
implementation of best practices;
useful to students and teachers;

Embarcadero offers free versions of Delphi from time-to-time. Click here: https://www.embarcadero.com/products/...