Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I do this in VFP (STDIO via FGETS)
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
How do I do this in VFP (STDIO via FGETS)
Divers
Thread ID:
00087924
Message ID:
00087924
Vues:
144
I'm trying to write a program that needs access to STDIO. Here's the C equivalent:

#DEFINE MAX_LINE 4096
char line [MAX_LINE];

fgets( line, MAX_LINE, stdin );

This is pretty straightforward, but it doesn't look like the VFP version of FGETS has a STDIO operator. I think I'm missing something really stupid...

Here's what I think I'd need to do, if I could figure out how to pass a handle to STDIO in VFP:

cLine = FGETS(STDIO,MAX_LINE)

Ideas?

-Paul
-Paul

RCS Solutions, Inc.
Blog
Twitter
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform