Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can VFP do AI task or Allow Run-Time learn on handling T
Message
De
10/09/1999 00:17:38
 
 
À
09/09/1999 21:43:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00263224
Message ID:
00263248
Vues:
17
>For example, I want to write a chess game!
>
>Can we run a list of Memo code from table?!
>

You can do this easily, now that the COMPILE command is available in the VFP runtime (VFP 6 SP3 Only).

STRTOFILE(MyTable.MyMemo, "Temp.prg")
COMPILE Temp.prg
DO Temp.PRG

Before SP3, this could still be done, but it required the use of Randy Pearson's CodeBlock program, which parses a code listing and broke it down for execution line by line with macro substitution (&SomeCommand).
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform