[fpc-pascal] Underscores in numerical literals - grouping
Vojtěch Čihák
vojtech.cihak at atlas.cz
Tue Nov 22 14:52:26 CET 2016
To the topic:
Currently when I write the line (in Laz. editor):
const Num = 123456789;
I can hover the identifier "Num" and I see tooltip:
const Num = 123456789
/file/name.pas(x,y)
And there is no tooltip when I hover the "123456789".
Maybe this is place for improvement.
Hovering the "Num" could show
const Num = 123 456 789
/file/name.pas(x,y)
while hovering the "123456789" could show just
123 456 789
V.
______________________________________________________________
> Od: Graeme Geldenhuys <mailinglists at geldenhuys.co.uk>
> Komu: FPC-Pascal users discussions <fpc-pascal at lists.freepascal.org>
> Datum: 21.11.2016 15:46
> Předmět: [fpc-pascal] Underscores in numerical literals - grouping
>
I don't know about you, but I like this idea implemented in Java 7 and
later.
http://jasdhir.blogspot.co.uk/2016/11/using-underscores-in-literals.html <http://jasdhir.blogspot.co.uk/2016/11/using-underscores-in-literals.html>
I always find it hard to read long numeric literals.
Regards,
Graeme
_______________________________________________
fpc-pascal maillist - fpc-pascal at lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal <http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20161122/4c127859/attachment.html>
More information about the fpc-pascal
mailing list