In a discussion on problems with long lists and the script window on DIRECT-L (“script editor and ve-e-ery long lists”), Cole Tierney posted a link (in the new DOUG Director Wiki) to his Lingo implementation of the php print_r function, which takes a property list and creates a human-readable, indented string:
put print_R ([#test: [#indent: “joe”], #test2: #bill], 1)
— “[ \
#test: [ \
#indent: “joe” \
], \
#test2: bill \
]”
As a side note, I’d like to mention that I’ve finally finished my first DOUG article for a long time, on reading XML in Director using Flash XML objects created on-the-fly.