Solid-state self-assembly of polymeric double helicates leading to linear arrays of silver(I) ions and reversible strand/double helix interconversion in solution.