Help me in my macro

Hi,
I have a problem in my macro and I can’t fix it , when i run my macro i get this

Warning: Illegal numerical expression 1,4 336MeV1.C:10: Warning: Automatic variable A is allocated 336MeV1.C:10: Error: assignment to 0 if(Decay1=2)A 336MeV1.C:11: Error: 0 if(Decay1=2)A Syntax error? 336MeV1.C:11: Error: improper lvalue 336MeV1.C:11: Warning: Automatic variable Z is allocated 336MeV1.C:11: !!!Dictionary position not recovered because G__unloadfile() is used in a macro!!!
336MeV1.C (1.07 KB)

the following 3 statements are not C++ (uninitialzed variables, wrong test, missing “;”)

if (Decay1=1,4) A=0,Z=0 if (Decay1=2) A=1,Z=1 if (Decay1=3) A=4,Z=2
Anyhow, these 3 statements seem to be useless. Remove them and your program should work.

Rene