if you have 'all variable are typed'
compilation may throw LOTS of errors, but if you look at them they are 
(often) mostly just variable which have never been given compiler 
directives, and at least in my case, most often are locals.

fixing these types of compiler errors are simple, somewhat time 
consuming, but simple.
once you get the typing under control, then you can see what "real" 
errors you have to deal with.

I would suggest resolving ALL of the typing issues, then take a fresh 
look at the situation.

as to your original question/issue -- is it possible that the variable 
is declare 2x as different types?

Chip

On Wed, 1 Aug 2018 07:34:28 -0700, Noah via 4D_Tech wrote:
> Thank you both for the speedy replies!
> Unfortunately this inherited application IS running in interpreted mode and
> has hundreds of errors that would keep it from compiling.
> 
> As time permits we will occasionally revisit the compilation errors and
> work towards a compiled version (but we have not made it there yet).
> Consequently, Typing Generation and Syntax Checking both fail (since this
> application had never been written with compilation as a goal)
> 
> Do you have any other suggestions?
> 
> Is is really 'that bad' to run in interpreted mode?
> My original question was simply about the scoping of variable
> initialization and form events in version 16.
> 
> On Tue, Jul 31, 2018 at 3:25 PM Timothy Penner via 4D_Tech <
> [email protected]> wrote:
> 
>> In addition to what has already been said -
>> 
>> Using a compilation path of "All variables are typed" is highly
>> recommended:
>> http://kb.4d.com/assetid=50223
>> 
>> -Tim
>> 
>> 
>> 
>> **********************************************************************
>> 4D Internet Users Group (4D iNUG)
>> Archive:  http://lists.4d.com/archives.html
>> Options: https://lists.4d.com/mailman/options/4d_tech
>> Unsub:  mailto:[email protected]
>> **********************************************************************
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:[email protected]
> **********************************************************************
---------------
Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for racing 
**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to