On 21 February 2010 17:00, Michalis Kamburelis <michalis.ka...@gmail.com> wrote:
>
> Which also means "less chance of mistake". For example, if you decide
> later to change "y" to "y1", you only have to change the code in one
> place, not three.


Unfortunately you are wrong Michalis. Ever heard of 'syncron-edit'?

  http://wiki.freepascal.org/New_IDE_features_since#Syncron-Edit

You only need to change one variable, and all other instances will
change to. And syncron-edit applies to any selection of text. So
already works in more cases.


I vote against adding this language feature. It's not pascal-like and
actually makes the code harder to read. It also only applies to simple
assignment. Case begin..end blocks can do much more than simple
oneliners.

-- 
Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to