>
>Another alternative might be to check for certain functions before you compile. Just use the $ operator. I suggest you use a table with forbidden functions. Note that user-defined functions might also be excluded, since the user might otherwise have access to features in your program which you would rather want to restrict (or control, through some condition).
>
>
>if "sqrt" $ MemoCode
> MessageBox("You are using a forbidden function.")
>else
> * compile and execute here
>endif
>
>
>You can also replace the code before compiling.
That's Right Hilmar
That should work too.
Thanks