Revision: 6463
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at May 22, 2008 08:45 by Meestercor
Initial Code
function print_a( obj, indent ) { if (indent == null){ indent = ""; } var out = ""; var start:Boolean = true; for ( item in obj ) { if (typeof( obj[item] ) == "object" ){ if(!start){ out += "n"+indent+ "[" + item + "] => Object"; } else{ out += indent+ "[" + item + "] => Object"; } start = false; } else { out += indent+"[" + item + "] => " + obj[item]+""; } out += print_a( obj[item], indent+" " ) + " "; } return out; }
Initial URL
Initial Description
Initial Title
Tracing array like print_r
Initial Tags
textmate, actionscript
Initial Language
Other