This is the awnser I tried it it does exactly what i need.
Thanks
>>Les say that I have a memo filed called mCode on a file concepts
>>
>>So
>>
>>concepts.mCode = “ local x
>> For x = 1 to 200
>> Wait window str(x) nowait
>> Next”
>>
>>How do I compile and execute that code within a program?
>
>Try ExecScript(). It works great.
>
>Einar
B.D.H.