Arithmetic assignments
Zinc now includes statements to quickly assign and perform artithmetic operations at the same time.
library ForTest
{
function onInit(){
integer x = 5;
x += 3; // x = 8
x -= 6; // x = 2
x *= 32;// x = 64
x /= 8; // x = 8
}
}
Last modified: 16 October 2024