Input Variables - Global?

Mike Schwartz mschw at athenet.net
Mon Dec 31 11:07:38 PST 2012


> On 12/30/2012 9:28 PM, Scott Walker wrote:
> > I'm trying to remember...are variables defined in a input statement
> > automatically made global?
> 
> Yes.  (Assuming that, by "made global", you mean "as if ',g' were
specified in
> the definition".)
> --
> Kenneth Brody

     Really???   I've always written my input statements as:

input  qu(1,#,g) "Use today's date for transactions? (Y/N)"

    Oh, well, wasted ",g",s.  If there's an input statement that needs to be
answered for every question, I guess I always made certain that my code hit
(or cleared) "qu" during processing for each record.

    Can I count that as my2013 "learned something new this year" option,
since, technically, I just ran my 2012 end-of-year??? 

Mike Schwartz  



More information about the Filepro-list mailing list