Hi, I would like use the result from calculations made in a function called by a pressbutton. For that, I defined the result as a global variable so that all my program sees it. Unfortunately, the program does not see this global variable; as if it cannot exit from the function. Is somebody have an idea on that? Best regards. JL