# address

The keyword denotes a special configuration type. It is used in port operations to address individually the entities inside the system under test (SUT).

- address shall only be used in receive and send operations of ports mapped to test system interface. Only one variable of type address may exist in a test suite.
- the special value null is available to indicate an undefined address, e.g. for the initialization of variables of the address type.

Related keywords:

- send
- receive
- null

### address

Example 1:

var address v_MujSUTentity := null;
Muj_PCO.receive(address:*) -> value v_MujSUTentity;
Muj_PCO.receive(tr_MujZprava) from v_MujSUTentity;

In the first line, a new address variable (v_MujSUTentity) initialized with null to indicate that the address is undefined yet.
In the second line, the source address of the received message is stored in the variable defined above.
The third line contains a receive operation: messages received on the port Muj_PCO from the address v_MujSUTentity are matched against the template tr_MujZprava.

BNF definition of address