Hi Andrews,
The foxpro #include isn't a global include function. What you need to do is include the file at the begining of each program file you have, or use the Class/Form menu -> Include File for classes and forms.
Michael Henstock
AWS
>Hello at alls
>Ihave a problem with a .h file; the problem is that on my main program I have:
>
>
cd "c:\app"
>set path to ayuda, clases, consultas, formas, imagenes, menus, programas, reportes,include
>#include mensajes.h
>oapp=newobject("reglas","reglas")
>oapp.ejecuta()
>
>When I call any directive from the mensajes.h file, the system return to me a error message that the variable not exist and I'm sure it is there.
>What could be happen...?
>TIA
A fish this fine deserves to be a fish nugget styled chunklet.
- Fry