http://gambaswiki.org/bugtracker/edit?object=BUG.762&from=L21haW4- Comment #1 by Benoît MINISINI: I can't reproduce that, everything works as expected there. So run the Gambas IDE by setting the environment variable GB_STOCK_DEBUG with 1, and send me the output.