Hi,
Is there an easiest way to do mathematical operations than using functions add, sub, mul and div ?
A simple exemple of what I want to do :
add(st_opt.first_x,st_opt.x,st_opt.half_width);
mul(st_opt.first_x,st_opt.first_x,2);
sub(st_opt.first_x,st_opt.first_x,st_opt.control_width);
sub(st_opt.first_x,st_opt.first_x,tmp_half_thumb_width);
Is there a way to do something like :
set(st_opt.first_x, eval(2 * (st_opt.x + st_opt.half_width) - st_opt.control_width - tmp_half_thumb_width));
Another thing I was asking me is : is there a way to specify my own basedir (not like %CURRENTXML% but a real path) ?
Thank
A.L.