>>>>
>>>>Dmitry,
>>>>I said "old", you use VFP9
>>>>HELP:
>>>>Maximum size of compiled program modules - Limited by available memory
>>>>
>>>>So I think you couldn't bother about this, but I am veeeery lazy too and I think programing 100 CASEs is more complicated and difficult to maintain then EXECSCRIPT(SomeField) ...
>>>
>>>I decided not to put my code into a memo field. I am concerned about memo field corruption. So I will probably do something like
>>>
>>>
>>>DO &cProcName.
>>>
>>>
>>>and create a separate procedure for each "CASE". Or maybe combine some CASEs into one procedure for convenience.
>>
>>I am not sure where you will save these procs (If you consider MEMO fields), but iif this is a static table that never change, no problems with MEMO coruption, since you only read from it.
>
>I am thinking about saving the procedures in different .PRG files.
That is a good idea. Each case can be tested independently, multiple coders can assist you. Each piece will be compiled once. Each piece can grow as large as needed. Little chance of reaching any limits.