Associative array/Creation: Difference between revisions

Content added Content deleted
(→‎version 2: add a missing apostroph)
Line 1,780: Line 1,780:
stateC.mn='St. Paul' ; stateN.mn='Minnesota'
stateC.mn='St. Paul' ; stateN.mn='Minnesota'
stateC.dc='Washington'; stateN.dc='District of Columbia'
stateC.dc='Washington'; stateN.dc='District of Columbia'
stateC.ri='Providence'; stateN.ri='Rhode Island and Providence Plantations
stateC.ri='Providence'; stateN.ri='Rhode Island and Providence Plantations'


say 'capital of California is' stateC.ca
say 'capital of California is' stateC.ca