Report Abuse. You can use a flag in any programming language. It's just a variable to hold the state of a condition. Most are boolean (basically, on or off, 0 or 1) but can be any value. A simple flag could be, if a certain condition is true then flag = 1. Then later in the program the value of flag can be tested.eport Abuse. You can use a flag in any programming language. It's just a variable to hold the state of a condition. Most are boolean (basically, on or off, 0 or 1) but can be any value. A simple flag could be, if a certain condition is true then flag = 1. Then later in the program the value of flag can be tested.
The way I interpreted it, was that you can leave when you are about 25 weeks pregnant. I think you get something like 15 or 17 weeks pregnancy leave, and then 35 weeks maternity leave. If you save them up, though, you get almost a full year with baby.
Maternity leave and pay. A pregnant employee has the right to both 26 weeks of ordinary maternity leave as well as 26 weeks of additional maternity leave. To qualify for maternity leave, an employee must tell their employer by the end of the 15th weeks before the expected week of childbirth: 1  that she is pregnant. Pregnant employees have the right to 52 weeks maternity leave. 2  39 weeks could be paid which may be statutory maternity pay, maternity allowance or contractual maternity pay (contractual pay may be more than statutory pay or could be paid for longer than 39 week-this will depend on the terms of employment).