Question: when was the pledge adopted into the flag code
Answer: 1942