CODE:
string sl[500];
string path[99];
path[0]=pathfolder()+"text.txt";
if (fopen (path[i], "r")!=0){k=freadlineall(#sl[0], 100);fclose();}
messagebox(k);
string path[99];
path[0]=pathfolder()+"text.txt";
if (fopen (path[i], "r")!=0){k=freadlineall(#sl[0], 100);fclose();}
messagebox(k);