This class models physical cards. Each card has a code, a card id and an
account id stored on it. The class provides operationsto create a card andto read information stored on a card.
\begin{vdm_al} classCard
types public CardId = nat; public Code = nat; public PinCode = nat;
pure public GetCode : () ==> Code
GetCode() == return code;
pure public GetAccountId : () ==> Account`AccountId
GetAccountId() == return accountId;
pure public GetCardId : () ==> CardId
GetCardId() == return cardId;
endCard
\end{vdm_al}
Messung V0.5 in Prozent
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.11Bemerkung:
(vorverarbeitet am 2026-06-07)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.