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.
1 All pregnant employees can take up to 52 weeksâ maternity leave around the birth of their child. 2  During statutory maternity leave, you may be entitled to statutory maternity pay for up to 39 weeks.3  You must take a minimum of two weeksâ leave after the birth of your child, or four if you work in a factory. All pregnant employees can take up to 52 weeksâ maternity leave around the birth of their child. 2  During statutory maternity leave, you may be entitled to statutory maternity pay for up to 39 weeks.