Hi Gerry.
Thsnks for your reply.
Does it matter where I use this code in My App or where I call it from.
i.e. Does it have to be set up in the top most prg program ?
Regards,
Gerard
>>I am in the procees of changing some Global variables into application objects and would welcome any ideas on the best way of doing this.
>>
>>I was proceeeding alomg the following lines:
>>
>
>You want your application object to be "portable"; I think sometimes like this would be better.
>
>
>oMyobj = NEWOBJECT( "My_App", "MYCLASS.PRG" )
>
>* Put My_App in a separate PRG: eg. MYCLASS.PRG
>DEFINE CLASS My_App AS Custom
> MyVar1 = MyVal1
> MyVar2 = MyVal2
>
> DIMENSION MyVar3[10]
> MyVar3[1] = MyVal3
>ENDDEFINE
>