>Hi,
>
>how can I use a class definition stored in a variable or in a memo field to get that class into memory during runtime? I know how that works in a .prg file and it's proably simple, but I can't get it worked out right now.
>
>Manfred
Something like (not tested)
lcMyClass = < Class definition >
lcFileName = Sys(2015) + ".prg"
Strtofile(lcMyClass, lcFileName )
Compile (lcFileName)
SET PROCEDURE TO (lcFileName) ADDITIVE
oObj = Createobject("myclass")
Requires VFP6 SP3 at least.
--sb--