The following guidelines will help you to export a variable defined in the NTS file (to Fortran code)
Double precision, integer or boolean can be exported:
double height = 1.0; integer direction = 2; boolean test = true; export height; export direction; export test;
use variables_ui double precision :: height integer :: direction logical :: test height=ui_get_double("height") direction=ui_get_integer("direction") test=ui_get_boolean("test")