Assigning a Parameter value to a different Parameter

I am trying to check the value of a Parameter and depending on the value it is holding, assign a value to a different Parameter.
I saw an example where they were checking for if the Parameter was blank and tried to use that code, but it is not working.
any ideas?
this is in an action script.
its failing on the first line.

if{x32 of operating system}
parameter “Bitnessval” = "32"
else
if { {parameter “Bitness” = “32”} }
parameter “Bitnessval” = "32"
else
parameter “Bitnessval” = "64"
endif

Once a parameter has been assigned a value, it cannot be changed; you’d have to use a different parameter name in the reassignment.

The syntax for checking the existing parameter needs a small change, you only need one set of curly brackets to start the relevance substitution…

if{x32 of operating system}
parameter "Bitnessval" = "32"
else
if {parameter "Bitnessval" = “32”}
parameter "Bitnessval2" = "32"
else
parameter "Bitnessval2" = "64"
endif

thank you Jason! :star_struck: