I use fget but I am limited to 254 character. I want to use _fget (API) but I am not able to declare the api function:
int _FGets(FCHAN chan, char FAR *buffer, int maxlen)
here the sample they give in help for using _fget
SET LIBRARY TO FGETS
fc = FCREATE("x", 0)
= FPUTS(fc, REPL("X", 512), 512)
= FCLOSE(fc)
= XFGETS("x")
DELETE FILE x
I think that with _fget I will be able to put more than 254 charactere in a variable.
Michel
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement