How can I execute a line of code stored in a string?
- From: "henryhamon" <henrygecko@xxxxxxxxx>
- Date: 28 Jun 2006 10:15:44 -0700
Hi everbody!
I need a Delphi function which I put a string and execute that...
exemple:
strCode := ' edit1.Text := strName ' + ';' ;
ExecuteString(strCodigo);
I don't know if is possible to do in Delphi...
This function is like "Eval" in PHP and JavaScript,
"Xecute" in COS and Mumps
and
"EbExecuteLine" of the Visual Basic that needs "vba6.dll"
.
- Follow-Ups:
- Re: How can I execute a line of code stored in a string?
- From: Andreas Koch
- Re: How can I execute a line of code stored in a string?
- From: Tom de Neef
- Re: How can I execute a line of code stored in a string?
- Prev by Date: TGIFImage and *large* animated GIFs - streaming?
- Next by Date: Re: TGIFImage and *large* animated GIFs - streaming?
- Previous by thread: TGIFImage and *large* animated GIFs - streaming?
- Next by thread: Re: How can I execute a line of code stored in a string?
- Index(es):
Relevant Pages
|