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.
You donât have to take 52 weeks but you must take 2 weeksâ leave after your baby is born (or 4 weeks if you work in a factory). Use the maternity planner to work out the dates for your ordinary and additional leave. You may be entitled to take some of your leave as Shared Parental Leave. Usually, the earliest you can start your leave is 11 weeks before the expected week of childbirth. Leave will also start: 1  the day after the birth if the baby is early. 2  automatically if youâre off work for a pregnancy-related illness in the 4 weeks before the week (Sunday to Saturday) that your baby is due.