Randy,
I would also recommend changing the settings from
Generate Typing
to
All Variables are typed
This gives you control over the typing of your variables, and the line you
point out would have kicked out a compiler error about the unknown ‘variable1’
in your line of code.
Randy
----------------------------------------------------------------------
Randy Jaynes
Senior Programmer and Customer Support
http://printpoint.com <http://printpoint.com/> • 845.687.3741 • PrintPoint, Inc
• 57 Ludlow Lane • Palisades, NY 10964
> On Aug 21, 2017, at 11:42 AM, Randy Engle via 4D_Tech <[email protected]
> <mailto:[email protected]>> wrote:
>
> Hi Jody,
>
> I went through all of my methods that I'd changed in the last 3 days
> (fortunately, I commented changes with a datestamp!)
>
> About 100 methods.
> Looked at each line of code
>
> FINALLY found the culprit
>
> Method_Something(->variable1;"something else")
>
> Where in the above line, the "1" at the end of the variable was a mistake.
>
> So this faux variable was not typed at all.
>
> Syntax Check, Generate Typing, Compiler didn't trap the error.
> 4D just quit.
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ: http://lists.4d.com/faqnug.html
Archive: http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:[email protected]
**********************************************************************