Quickly View Contents Of An Array
lists at mangomultimedia.com
Tue Feb 9 15:43:40 CST 2010
On Feb 9, 2010, at 4:04 PM, Bob Sneidar wrote:
> Printkeys() is a basic function for displaying the contents of an
> array. It does not to my knowledge handle nested arrays, and I
> believe it was written by Trevor DeVore as a utility to his sqlYoga
> utility, but I may be mistaken on that.
The Data Grid behavior has a PrintKeys command that will print out the
dgData array. It supports nested arrays.
SQL Yoga has a printKeys() function defined that will print out nested
arrays as well.
Since the engine provides no way of printing out arrays I added the
above for troubleshooting purposes. I've filed an enhancement request
for a function akin to print_r in PHP:
Blue Mango Learning Systems
Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com
More information about the use-livecode