Outputting a Key Value

The power of an associative array is that it uses keys, text or numbers, to reference values. Know the key and you can fetch the value . This “association” works like an array in C, where you know the index or offset for an element. Though with an associative array, the index is a value or string — the key.
Continue reading

Pairs of Arrays

I enjoy studying foreign languages. A tool like Google Translate comes in handy, but it’s not perfect. That’s because computers translate words and phrases, but not the living, spoken language. Regardless, I thought I’d give language translation a stab, which got me into the topic of exploring arrays.
Continue reading