[DUG] String to Procedure
Neven MacEwan
neven at mwk.co.nz
Tue May 30 09:59:35 NZST 2006
Phil
You can of course run a public method of an object via RTTI
Neven
Phil Scadden wrote:
>> What is the easiest way to cast a string to a procedure name
>> and run it?
>
> In the terms, you state it, you cant. This is heading into compiler/interpreter
> country. where is the string coming from? It would help to have some more
> context on what you are trying to do. Looking to me very much like you
> are wanting a scripting component like DWS.
>
> ----------------------------------------------------------
> Phil Scadden, Institute of Geological and Nuclear Sciences
> 764 Cumberland St, Private Bag 1930, Dunedin, New Zealand
> Ph +64 3 4799663, fax +64 3 477 5232
>
> _______________________________________________
> Delphi mailing list
> Delphi at ns3.123.co.nz
> http://ns3.123.co.nz/mailman/listinfo/delphi
>
>
--
Neven MacEwan (B.E. E&E)
Ph. 09 620 1356 Mob. 027 4749 062
New Address Details
===================
MWK Computer Systems
1 Taumata Rd
Sandringham
Auckland
Ph 620 1356
Fx 620 1336
-------------- next part --------------
A non-text attachment was scrubbed...
Name: neven.vcf
Type: text/x-vcard
Size: 164 bytes
Desc: not available
Url : http://ns3.123.co.nz/pipermail/delphi/attachments/20060530/2c15e91c/neven.vcf
More information about the Delphi
mailing list