Commander (c, p, q) | ||
Start | ||
Lecture prix produit p | ||
si q > stock de p alors Abort | ||
sinon | ||
Mise à jour stock de p | ||
Enregistrement dans c du total de facturation | ||
Commit | ||
fin si |
T: r[x] r[y] a T': r[x] a T'': r[x] w[y] w[z] c T''': r[x] r[y] w[y] w[z] c