cpjamloki
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2016
12:02 AM
print complete array as it is
Hi guys,
is there any function in Roku like print_r in php, for printing complete arrray.
Thanks
is there any function in Roku like print_r in php, for printing complete arrray.
Thanks
2 REPLIES 2
cpjamloki
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2016
10:17 AM
Re: print complete array as it is
if anybody have any idea please share.
EnTerr
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2016
11:46 AM
Re: print complete array as it is
If print is given an array, it does already print it "complete", one item per line.
I suspect you are asking about way to recursively dump a structure, it's trivial to write such function - but take a look first, won't formatJSON() do out-of-the-box what you need?
I suspect you are asking about way to recursively dump a structure, it's trivial to write such function - but take a look first, won't formatJSON() do out-of-the-box what you need?