Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What are the ANNOUNCE and REQUEST statements?

announce request statements
0
Posted

What are the ANNOUNCE and REQUEST statements?

0

(Answer supplied by Doug Lee.) REQUEST is used to force functions, procedures, and modules to be linked into an application whether or not they are referenced directly. REQUEST officially replaces the EXTERNAL statement provided in versions of Ca-Clipper prior to 5.2. Functions and procedures are linked into an application automatically if they are referenced directly in the source code or if they are located in .OBJ files which are explicitly listed in the link script. However, if a function is not referenced until run time and is to be drawn from a library, it must be REQUESTed. Examples of this include INIT and EXIT procedures, functions and procedures referenced only from within index expressions or report forms, and MEMOEDIT user functions. If you have a report form which calls MEMOTRAN and your application makes no further reference to that function, you must include the line REQUEST MEMOTRAN in one of your source files. ANNOUNCE is used to name modules for REQUESTing. By using A

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123