Bee Learnt Logo
Bee Learnt
FeatureBrowse allPricingAboutSupport
Bee Learnt

Bee Learnt gives South African Grade 10–12 learners a cleaner route from classwork to NSC readiness — with parents and tutors supporting the journey.

WhatsApp: 0685537312

Support email: admin@beelearnt.co.za

Learn
FeaturesBrowse subjectsPricing
Get started
Create accountSign inContact support
Company
About Bee LearntAdvertisingContact
Legal
Privacy policyTerms of serviceCookie policyAd choices

© 2026 Bee Learnt. All rights reserved.

CAPS aligned · Grades 10–12 · NSC ready

Privacy choices

Allow analytics and advertising services to help us understand site usage and measure campaigns.

Privacy Policy
  1. Subjects
  2. /
  3. Information Technology
  4. /
  5. Information Technology Grade 12 — Practical
  6. /
  7. Control flow and strings
Grade 12 · Practical

Control flow and strings

Grade 12 practical: Choosing loops and decision structures; String processing and safe indexing.

3 free units in this chapter

Units in this chapter

Choosing loops and decision structures

Use FOR when the required index range is known in advance. A WHILE loop checks its condition before running, so its body can execute zero times. REPEAT checks after the body and therefore executes at least once; it stops…

About 7 min

String processing and safe indexing

For the ordinary Delphi strings used in these examples, character positions start at 1. Length returns the number of characters; Pos returns 0 when a substring is absent. Never use the result of Pos as a valid character…

About 7 min

Delphi date and time functions

Delphi represents dates and times as a TDateTime. A family of functions reads, calculates with, and formats them.

About 3 min