Quickly View Contents Of An Array

Trevor DeVore lists at mangomultimedia.com
Tue Feb 9 16:43:40 EST 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:

http://quality.runrev.com/qacenter/show_bug.cgi?id=8425

-- 
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com



More information about the use-livecode mailing list