Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Running Code Dynamically
Message
De
23/07/1997 19:39:12
 
 
À
23/07/1997 16:20:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00041271
Message ID:
00041417
Vues:
34
And you'll end with a VFP compiler written in VFP... :) I sincerely think it's not the best language for this purpose... :)

Vlad

>you can also handle more complicated stuff but you have to write the parser
>by yourself
>e.g. if you see a FOR do the rest of the code inside a premade for loop
>etc.
>
>Arnon
>
>
>>The main problem is that you can't compile the generated code if you're
>not
>>in the development environment.
>>
>>If you have only "one line commands" in the memo fields you can run them
>>line by line using macrosubstitution. If the code is more complicate, you
>>may try an utility that you can find here on UT, in the Files section, I
>>think (I don't remember its name right now :)).
>>
>>Vlad
>>
>>>Hi there:
>>>Has anyone tried to generate a PRG and run it dynamically at run-time.
>I
>>have a table with a memo field with the code I want to execute at
>run-time.
>> This works under development mode but fails at run-time, since the PRGs
>I
>>dynamically create are not "burned" in the EXE.
>>>
>>>Any ideas?
>>>
>>>TIA
>>>
>>> Antonio Lozada
>>
>>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform