michaelmartin2758:
i presume the limited memory will be ok for this as i overwrite the list numbers
I understand that the library logically overwrites the numbers but do you KNOW that it physically overwrites the numbers? Does it use the same memory locations or does it just ignore the old location and find some other unused memory location with a view to tidying up the garbage sometime later - if you haven't run out of memory first.
Is there any advantage in using a linked-list library for 6 numbers?
...R