[Gambas-user] Directories?

2009-12-03 Thread Dave Merriman
Is there a way to determine what directory a Gambas executable is run from? Or what its 'default' directory is when looking for a file? I've got some text files that I need to read into an array (I *really* wish Gambas had an easy way to embed array data _in_ the program, like the old "data 4,

[Gambas-user] Keep variable value between subroutine calls?

2009-08-23 Thread Dave Merriman
I'm having trouble getting my mind around how to do something in Gambas, and I'm hoping that someone can explain (or even better, show) how to do it. As part of an application I'm trying to write, I need to be able to change a variable in a subroutine and still have the value available the nex