All actions need to be separated by semicolon and then grouped using parenthesis.
The following example worked.
A=1;
if(A==1, (x=A*1; y=A*2;z=A*3), (x=A^1; y=A^2;z=A^3));
Print(x); Print(y); Print(z);
/*:
1
2
3
//:*/
A=2;
if(A==1, (x=A*1; y=A*2;z=A*3), (x=A^1; y=A^2;z=A^3));
Print(x); Print(y); Print(z);
/*:
2
4
8