Not able to understand how I make this work?


I am trying to make a calculator for RMI in ovarian cancer. I have used a spinner and other elements. Can anyone help me make sense of this?
I'm an absolute noob at coding.
thanks

you cannot initialise global variable like this.

instead do like this,

set global ca to CA...
set m to Meno...
set u to Ultra...

inside the button click Calculate or where you required , in that button click

We are noobs at RMI calculation.

Link to the formula?