#DEFINE FILENAME "$$$$.$$$" CLEAR CLEAR ERROR TRY =STRTOFILE("A",FILENAME ) H=FOPEN(FILENAME) IF H>0 ? "h is readonly, and I can move the end pointer everywhere ", FSEEK(H,10000000,2),FSEEK(h,-1,1) ? "if I don't overcome the beginning, the pointer is moved",FSEEK(H,0,2) at 60,FSEEK(H,-1,2) * bug ? "if I do overcome the beginning, the pointer isn't moved",FSEEK(H,0,2) at 60,FSEEK(H,-2,2), " expected 0 or -1" ? "return is good, and no ERRORS", AERROR(AX),"then i cannot known this fact" ? " then the program must to use only nBytesMoved bounded on negative values , otherwise results are unpredictable " FCLOSE(H) ENDIF FINALLY ERASE FILENAME ENDTRYthanks