The construct “V-ID/V-ADDR { … }” can be used when writing scripts for message tracking and handling . In this case the compiler would put device id where the script is located instead of “V-ID” and it will put the element script id and sub-id divided by “:” instead of “V-ADDR” .

Example:


<item addr="524:248" name="Message processing"	type="script">
V-ID/V-ADDR
{
	u8
	strForMess[100];
	sprintf(strForMess,"%cID:SID - %d:%d", 1, senderId(), senderSubId());
	setStatus(@exciterId():32,&strForMess);
}

</item>
	

//After compilation:


524/524:248 
{
	u8 strForMess[100];

	sprintf(strForMess,"%cID:SID - %d:%d", 1, senderId(), senderSubId());

	setStatus(@exciterId():32,&strForMess);
}

Result:

When clicking the element script in the interface the following message will be displayed:

“ID:SID – 524:248”