If anyone is still thinking about designs to propose to 4D regarding static variables, one approach could be to add a class of methods like COMPILER_ methods. Say STATIC_. Similar idea:
-- Start with the word Static, or have a method attribute. -- Declare *and* populate variables. -- Compilers scans and finds these methods. -- Any other assignment to these variables is a compiler error. -- Compile builds the static assignment into the compiled code. -- 4D initializes static values prior to On Startup. ********************************************************************** 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] **********************************************************************

