[Gambas-user] Set array from a file

Benoit Minisini gambas at ...1...
Tue Sep 7 21:44:30 CEST 2004


On Tuesday 07 September 2004 11:57, Sniper[CRY] wrote:
> I have a file with contain:
>
> ste
> mark
> robby
> andrew
>
> Can I open the file and set array with the 4 name?

Yes.

MyArray = Split(File.Load(MyFilePath), "\n")

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the User mailing list