use the 'generate typing' option in the compiler  :)

if you are worried about mistyping of your variable, or misspelling, you can 
look though them compiler directives.

For me:
this often catches instances where I failed to declare a local variable 
(usually a counter of some sort)
or the occasion where I change method parameters, either the order, or the 
typing, and fail to update all the method calls

ex: 
MyMethod(text;longint)
         changed to
MyMethod(pointer;longint)

and I forget to (or miss) calls to MyMethod(textvar;longing)


> Hi All,
> 
> I thought I’ve seen it all but now I’m at a loss here. :-(
> 
> I’m upgrading my stuff from v12 to v16 and tried a syntax check with 
> the result shown in the subject.
> 
> Now it’s kidding me with
>       "The variable MYProcessvariable has not been explicitly declared in 
> the typing methods (Compiler…).”
> 
>       "The variable SPLITTER29 has not been explicitly declared in the 
> typing methods (Compiler…).”
> 
> AND
> 
> <Method name="* On SQL Authentication”>
> <Error line="10">The parameter ${$} has not been explicitly declared 
> in the typing methods (Compiler…).
> </Error>
> 
> Method name="SU_TableAccess”>
>  <Error line="13">The parameter $1 has not been explicitly declared 
> in the typing methods (Compiler…).
>  </Error>
> 
> 
> I used the same compiler settings as before:
> Compilation Options
>       Generate error file
>       Multi-target compilation (32-bit and 64-bit)
> 
> Initialize local variables: to “zero”
> Compilation Path: Process and interprocess ar typed
> 
> Default typing
>  Numeric: REAL
>  Button: Long Integer
> 
> - Compiler Method for ALL
>                Compiler_Definition
> 
> My “Computer_Definition” method looks like this:
> Compiler_Web 
> Compiler_OT 
> Compiler_Process 
> Compiler_Application 
> Compiler_ErrorCatch 
> Compiler_Methods 
> 
> 
> In those methods ALL process and interprocess variables and arrays 
> are declared!
> 
> Local variables and parameters are declared at the top of every method!
> 
> NOT all methods have there parameter declared in “
> Compiler_Methods"(is this mandatory now?).
> 
> I also reorganised/ folders for the structure objects e.g. specific 
> folders for generic methods, different folders for different tables 
> and so on.
> 
> 
> Big Question: What the f**** is going on?
> 
> Thanks for any help, hint, slap…
> 
> Cheers
> Jörg
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:[email protected]
> **********************************************************************
------------
Hell is other people 
     Jean-Paul Sartre
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to