>The bigger trouble with scripting is that the environment the script runs in may be somewhat isolated - may it wouldn't inherit the current dataenvironment, or wouldn't know of private variables of the caller etc (read as: I haven't tried this). It's the same as calling PRG, the local variables are invisible, privite are visible and so on.
>If any of this is not working in a script, and may be needed, one can always write the contents of the script into a .prg file, compile it and DO it.That's what ExecScript does.
--sb--