is there a backware compatablity 9.30 => 9.28.2 setting? lazarus / 6-IDE-CodeTools ---------------------------------------------------------------------- mas steindorff · 2011-05-16 17:27 I wish to start using the latest rev but there are several issues the new release does not like about code I generated with rev 9.28.2. A few being I can not longer use  inc(compontX.Tag); and the order of variables and procedures in the object's type def (variables must come before procedures). Is there a flag or setting I can use on the (100+) older projects so I can use the latest release and still support these older projects while I transition over? ---------------------------------------------------------------------- Martin_fr · 2011-05-16 17:47 Both changes where introduced in fpc 2.4 .0 http://wiki.lazarus.freepascal.org/User_Changes_2.4.0#Order_of_field_a nd_method.2Fproperty_declarations http://wiki.lazarus.freepascal.org/User_Changes_2.4.0#Treating_direct- mapped_properties_as_regular_fields You can try to install an older fpc version. But I do not know if it will work. In order to compile your projects with the older fpc, you will need to compile at least the LCL (and all packages used by your project with the older fpc). I do not know if the current LCL can still be compiled with this ----- As for  inc(compontX.Tag); That can be fixed by search and replace using regular expression searches search for:   inc\((.+?)\); replace with   $1 := $1 + 1; ---------------------------------------------------------------------- mas steindorff · 2011-05-16 17:54 Quote from: Martin_fr on May 16, 2011, 07:47:48 pm... As for  inc(compontX.Tag); That can be fixed by search and replace using regular expression searches search for:   inc\((.+?)\); replace with   $1 := $1 + 1; Thank you!  this will speed up my update task a lot! ---------------------------------------------------------------------- Martin_fr · 2011-05-16 18:45 if you have inc(a,2) then try search for:   inc\((.+?),(.+?)\); replace with   $1 := $1 + $2; for the order of declarations in classes. Instead of re-ordering everything, it may be faster to add additional "public", "private", ... lines