Code: Select all
_fileArg = GetParam(GetNumParams() - 1);
_file = GetEngine().FileOpen(_fileArg, "FILE_MODE_READ");
ejemplo:
mi_programa ../code/test.txt -> funciona
mi_programa /Projects/MSX/code/test.txt -> funciona
mi_programa /Projects/MSX/demo/../code/test.txt -> no funciona