Input Variables - Global?

Scott Walker ScottWalker at RAMSystemsCorp.com
Mon Dec 31 11:30:02 PST 2012



> -----Original Message-----
> From: filepro-list-
> bounces+scottwalker=ramsystemscorp.com at lists.celestial.com
> [mailto:filepro-list-
> bounces+scottwalker=ramsystemscorp.com at lists.celestial.com] On Behalf Of
> Mike Schwartz
> Sent: Monday, December 31, 2012 2:08 PM
> To: filePro Mailing List
> Subject: RE: Input Variables - Global?
> 
> > 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,

You can't count it as "learned something new this year" since I bet you
already knew it but forgot it (like me).

Happy New Year!

Scott






More information about the Filepro-list mailing list