Subject: | Cleaning up vars not declared
| Date: | Fri, 18 Oct 2019 06:51:56 -0400
| From: | Kevin Baker <shcsbaker@gmail.com>
| Newsgroups: | pnews.paradox-development
|
Hi Everyone!
As I touch forms I didn't code, one of the many things I'm doing is
ensuring all vars have been declared. I'm doing this my enabling the
Compiler Warnings. For the most part I can (by just looking at the
code) determine what type a var should be declared as.
For the one's where I'm not quite sure, the progress I'm thinking may
work is to just view the var and let paradox tell me the type. For
example if I have the following in code:
s=main_ID
Then I add s.view() and run the form. When the view box is displayed
the type is listed in the box title.
Is this a safe way to determine they type the var should be?
Thanks,
Kevin
|