Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Executing Code within Memo fields in an EXE
Message
De
29/06/1998 23:00:39
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00112479
Message ID:
00112768
Vues:
15
Juan,

I saw Ken Levy use a the following command in VFP 6.0:

RUN CODE

I asked him immediately if I saw correclty and he said YES. I have not used it though, and I didn't find it in help.


This is what I do in FPD:

1. A parameter file has a key field, a type field, and two memo fields.
2. If the parameter type is program, the GetParam function looks at the memo
that is supposed to have the objcode.

2.1 If objcode exists it copies it to Temp directory and returns filename.
2.2 If object does not exist there are two cases:
2.2.1 If we are running exe, or have no source there is nothing to be
done in FPD; return blank.
2.2.2 If source is available copy it to Temp Directory, compile it and
APPEND MEMO mObject FROM TmpFile OVERWRITE. Return file name.

Hope this helps, especially the RUN CODE command.

Alex
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform