programrule
nounUK /ˈprəʊ.ɡræm.ruːl/
US /ˈproʊ.ɡræm.ruːl/
A programrule is a rule that tells a computer program what it can and cannot do.
The game has a programrule that stops players from cheating.
RELATED WORDS
OTHER MEANINGS
2. A rule written inside a computer program that controls how it behaves.
The programrule makes the app close if you type the wrong password.
3. A guideline that a program must follow to work correctly.
Every programrule in the system was checked before the update.
4. A condition in a program that decides what action to take.
A programrule tells the robot to stop when it sees a red light.