>>Does anyone know if it is possible to use anything besides #DECLARE statements in an INCLUDE file?
>>
>>I need to have a header in all my PRG files which makes available the same PRIVATE variables and then assigns them values.
>
>Gary,
>
>Do you have an application class? If so, create your private vars as
>properties of the application class. Once the app object is created,
>you can access any of it's public properties. If you haven't gone this
>route, you should look into it. You can get rid of all public and most
>private variables this way.
>
>Steve
Steve,
I'm using MaxFrame Professional and I have no problem getting variables passed from the application object to any PRG by referencing the custom properties on the application ofject. When I want to run in development mode is where I have the problem. I have an include file which takes care of passing variables when I am running the app. The problem is when I am running in standalone development mode.
Gary
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement