Known. I solve it by using "file()" and working in RAM directly.
Here's the worst and funniest workaround ever:
Global
string caca_fopen_string;
int caca_fopen_pos;
End
function _fopen(string archivo,int modo);
begin
caca_fopen_string=file(archivo);
caca_fopen_pos=0;
return 1;
end
function string _fgets(JANDEL);
begin
y=caca_fopen_pos;
x=find(caca_fopen_string,chr(13),y);
caca_fopen_pos=x+2;
if(x==-1)
return "";
else
return substr(caca_fopen_string,y,x-y);
end
end
function _feof(JANDEL);
begin
if(caca_fopen_pos==-1)
return true;
else
return false;
end
end
function _fclose(JANDEL);
begin
//JAJAJAJAJAJA
return true;
end