<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 7: Indexing lists with Long</title><link href="https://sourceforge.net/p/millscript/bugs/7/" rel="alternate"/><link href="https://sourceforge.net/p/millscript/bugs/7/feed.atom" rel="self"/><id>https://sourceforge.net/p/millscript/bugs/7/</id><updated>2004-09-08T10:03:38Z</updated><subtitle>Recent changes to 7: Indexing lists with Long</subtitle><entry><title>Indexing lists with Long</title><link href="https://sourceforge.net/p/millscript/bugs/7/" rel="alternate"/><published>2004-09-08T10:03:38Z</published><updated>2004-09-08T10:03:38Z</updated><author><name>Kevin Rogers</name><uri>https://sourceforge.net/u/moya/</uri></author><id>https://sourceforge.net5424a6fcca8ca0aeef902c0177f8cdb5bd34a588</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;We hacked MillScript (in MapAwareTools.java) to &lt;br /&gt;
support Number when indexing a List. Strictly speaking &lt;br /&gt;
this is wrong.  We should only support indexing by &lt;br /&gt;
integral types i.e. Integer, Long, BigInteger, BigDecimal &lt;br /&gt;
(with no fractional part), and the other wrapper types &lt;br /&gt;
such as Short etc. &lt;/p&gt;
&lt;p&gt;We should have a convertToInt function that is &lt;br /&gt;
responsible for enforing the check. &lt;/p&gt;&lt;/div&gt;</summary></entry></feed>