Hello ik, Saturday, April 4, 2009, 3:07:58 PM, you wrote:
i> SetLength(Prefix, High(aPrefix)); i> SetLength(NumberLength, High(aNumberLength)); Discarding the compiler crash, this code seems buggy to me, unless you know exactly the high/low of the arrays matches its length, I think it should look like: SetLength(Prefix, Length(aPrefix)); SetLength(NumberLength, Length(aNumberLength)); -- Best regards, JoshyFun _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal