So there is no way to have a bunch of procedures in a file that you can
call globally? I have to have a separate file for each procedure I want to call?
>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?
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only