Joe,
Put the #define in an .h file and use the form Include menu item to include the file in each form.
You can put your procedure in a file with the same name as the function name and simply include that .prg in the project.
>>I have an app (which I'm compiling to an exe) that consist of...
>>
>>Form1 - parent
>>Form2 - child of Form1
>>Form3 - child of Form1
>>
>>I'm starting the exe with a .prg that has the following code:
>>
>>* code start
>>set ...
>>do form Form1
>>read events
>>* code end
>>
>>Now I need a global constant such as "#define x 10" and a global procedure so that
>>any of the three forms can use the constant or call the procedure.
>>
>>Thanks for any tips!
>>Joe
>
>So my question was... (sorry about that) Where do I put the global constant and procedure?