JavaLikeCalc.JavaScript
en = !p1_addr.isEVal() || !p2_addr.isEVal() || !p3_addr.isEVal() || !p4_addr.isEVal() || !p5_addr.isEVal();
title_text = title.isEVal() ? "" : title;

p1_text = p1_name.isEVal() ? "" : p1_name; p1_color = p1_clr;
p2_text = p2_name.isEVal() ? "" : p2_name; p2_color = p2_clr;
p3_text = p3_name.isEVal() ? "" : p3_name; p3_color = p3_clr;
p4_text = p4_name.isEVal() ? "" : p4_name; p4_color = p4_clr;
p5_text = p5_name.isEVal() ? "" : p5_name; p5_color = p5_clr;

trnd_prm0addr = p1_addr; trnd_prm0bordL = p1_min; trnd_prm0bordU = p1_max; trnd_prm0color = p1_clr;
trnd_prm1addr = p2_addr; trnd_prm1bordL = p2_min; trnd_prm1bordU = p2_max; trnd_prm1color = p2_clr;
trnd_prm2addr = p3_addr; trnd_prm2bordL = p3_min; trnd_prm2bordU = p3_max; trnd_prm2color = p3_clr;
trnd_prm3addr = p4_addr; trnd_prm3bordL = p4_min; trnd_prm3bordU = p4_max; trnd_prm3color = p4_clr;
trnd_prm4addr = p5_addr; trnd_prm4bordL = p5_min; trnd_prm4bordU = p5_max; trnd_prm4color = p5_clr;