Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Running Code Dynamically
Message
De
25/07/1997 18:24:43
 
 
À
23/07/1997 19:39:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00041271
Message ID:
00041735
Vues:
34
Take a look at codeblock from a way back. Randy Miller? We use it for remote pgm writting/exe on deployed app. Can maintain a simple library of source and the codeblock will handle most all of the constructs including looping etc. I think I sent Michael a copy. It's in the public domain and I've seen it on other sites. I'll dig out a copy and forward/upload I'm just not on a development system right now.

Gary

>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
>>>
>>>
Gary
Helping Make Ideas Reality
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform