In our previous episode, Bart said: > > Raise an exception > > This will break existing implementations that either expect IM to be > 999, or ABC to be 0 (indicating failure), and that certainly do not > expect that this function throws an exception at them.
Yes, but since the routine probably has low utilisation I choose for structuring all conversion routines all the same. Moreover I don't think that first attempts should fixate interfaces and behaviour forever. And let's not beat about the bush: the main reason for the routine is to show beginning programmers that their homework can be done using a fixed function :-) _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal