declare global

Kenneth Brody kenbrody at spamcop.net
Fri Mar 12 11:30:07 PST 2010


On 3/12/2010 12:39 PM, Richard Kreiss wrote:
> If I have 2 processing tables which will call the same processing table
> which has declare extern, do I declare global in each of these primary
> tables or just once?
>
> i.e. primary input programs are input.prc and enter.prc
> called table is call_post_memos.prc

If the variable isn't needed prior to the call, then DECLARE GLOBAL in the 
CALLed table, and DECLARE EXTERN in those tables that call it.

-- 
Kenneth Brody


More information about the Filepro-list mailing list