>>> hey, does anyone know how to delete all the contacts in sim card?
>>> cause it seems that u can only delete the contacts in sim card one by one.
>>> so i would like to delete the whole contacts in sim card. can tell me how?
>> Use a For Next loop to delete each in turn.
>
> Don't you think a Do...While would work too?
Yes, as would Goto...
I seem to remember the mobile AT command set gave you a count and you
then accessed/deleted entries by index.
A For, Next loop is best suited for this kind of operation.
(maybe counting backwards, depending on whether it renumbers as you
delete them)

Signature
Dean Earley (dean.earley@icode.co.uk)
i-Catcher Development Team
iCode Systems
Ralph - 09 Sep 2008 13:56 GMT
> >>> hey, does anyone know how to delete all the contacts in sim card?
> >>> cause it seems that u can only delete the contacts in sim card one by one.
[quoted text clipped - 10 lines]
> (maybe counting backwards, depending on whether it renumbers as you
> delete them)
A microwave oven works well too. It will delete all contacts in a flash, no
count or loop needed.
-ralph