Guarded Command
The guarded command is the most important element of the guarded command language. In a guarded command, just as the name says, the command is "guarded". The guard is a proposition, which must be true before the statement is executed. At the start of that statement's execution, one may assume the guard to be true. Also, if the guard is false, the statement will not be executed. The use of guarded commands makes it easier to prove the program meets the specification. The statement is often another guarded command.
Read more about this topic: Guarded Command Language
Famous quotes containing the words guarded and/or command:
“The profession of magician, is one of the most perilous and arduous specialisations of the imagination. On the one hand there is the hostility of God and the police to be guarded against; on the other it is as difficult as music, as deep as poetry, as ingenious as stage-craft, as nervous as the manufacture of high explosives, and as delicate as the trade in narcotics.”
—William Bolitho (18901930)
“Universal empire is the prerogative of a writer. His concerns are with all mankind, and though he cannot command their obedience, he can assign them their duty. The Republic of Letters is more ancient than monarchy, and of far higher character in the world than the vassal court of Britain.”
—Thomas Paine (17371809)