Hi, a question regarding the compiler setting "Compilation Path".
We used to set it to "All variables are typed". So the developer is responsible 
to declare all variables and if he doesn't do it he will get errors.
Unfortunately in this mode the compiler isn't aware of the changing of array 
dimensions, e.g. I have declared an array with one dimension in a Compiler_X 
method but in code I declare it again with two dimensions:
Compiler_X:
ARRAY TEXT(<>Array2dim;0)
In Code:
ARRAY TEXT(<>Array2dim;2;3)

The compiler doesn't show an error or a warning. If I run the compiled code I 
will get an error.

I got the recommendation to change the compiler setting to "Type the 
variables". But this mode is a source of errors too and therefore we don't use 
it.

Hmm, it seems to be bit inconsistent at least to me. There isn't any compiled 
mode to be sure the compiled code is fine.

Any thoughts?

Regards
Lutz 


--  
Lutz Epperlein  
----------------------------------------------
Agendo Gesellschaft für politische Planung mbH
Köpenicker Str. 9
10997 Berlin
http://www.agendo.de/
----------------------------------------------


**********************************************************************
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]
**********************************************************************

Reply via email to