Hallo Ivanko,

Du schriebst am Fri, 8 Nov 2013 13:00:12 +0500:

> BTW, shortcuts for range check might be very handy :

Use sets.

> -----------
> if i in 1..10 then
> -----------

if i in [1..10] then ...

Do the brackets bother you?

BTW, yes, that applies only to ranges accomodated by set variables, which
can be limitied by the maximum allowed set size. That value depends on the
compiler implementation, it is AFAIK different between Delphi and FPC,
where, I believe, it is 128 bytes, i.e. 1K (1024) bits.

-- 
-- 
(Weitergabe von Adressdaten, Telefonnummern u.ä. ohne Zustimmung
nicht gestattet, ebenso Zusendung von Werbung oder ähnlichem)
-----------------------------------------------------------
Mit freundlichen Grüßen, S. Schicktanz
-----------------------------------------------------------



------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to