>I have created a program where I am calling four procedures within a SCAN statement.
>
>The first procedure name is "=Restorecst()" and the fourth procedure name is
>"Restorecstpri()"
>
>When I execute this program the "=Restorecst()" calls the "Restorecstpri" procedure code.
>
>Can anyone help to explain why this is happening?
>
>thanks,
>
>Jason
>P.S. I have tried running the program in Visual FoxPro and it works OK. Pity I can't keep it in Visual.
In FP 2.x procedure/function names are limited to 10 characters. Therefore, it sees both as "Restorecst".
George
Ubi caritas et amor, deus ibi est