[Gambas-user] Directories?

Benoît Minisini gambas at ...1...
Fri Dec 4 14:43:24 CET 2009


> 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, 17, 32, 88..." of BASIC days), and need to know where
> to put them so they're easily found.
> 

Dim MyArray As Integer[] = [1, 2, 3, 4]

Regards,

-- 
Benoît Minisini




More information about the User mailing list