HOME
NEWS
REVIEWS
FEATURES
FILES
FORUMS
Philips Pronto Professional Forum - View Post
Find remotes at:
Read more news »
Acoustic Research Xsight Touch ARRX18G
Sony PlayStation 3 Advanced Control Roundup
Pinnacle PCTV HD Pro Stick HDTV Tuner
Universal Remote Control Inc. Digital R50
[
SEARCH
]
[
CONTACT
]
The following page was printed from RemoteCentral.com:
Forums
>
Professional
>
Philips Pronto Professional
View Single Message
Login:
Pass:
Register
Forum Search
Login
Original thread:
Weather XML SWA Help Request
Post 9
made on
Thursday June 24, 2010
at
15:05
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
12,997
View Profile
var swa0 = weather.swa.a[0].t;
var swa1 = weather.swa.a[1].t;
var swa2 = weather.swa.a[2].t;
OR
var i;
var swa_t = [];
if (weather && weather.swa && weather.swa.a)
{
for (i=0; i < weather.swa.a.length; i++)
swa_t[i] = weather.swa.a[i].t;
}
ECMA 357 PDF (E4X) should provide some relevant examples as well.
Other stuff regarding for loop can be found in Flanagan.
:-)
var swa0 = weather.swa.a[0].t; var swa1 = weather.swa.a[1].t; var swa2 = weather.swa.a[2].t; OR var i; var swa_t = []; if (weather && weather.swa && weather.swa.a) { for (i=0; i < weather.swa.a.length; i++) swa_t[i] = weather.swa.a[i].t; } ECMA 357 PDF (E4X) should provide some relevant examples as well. Other stuff regarding for loop can be found in Flanagan. :-)
Lyndel McGee
Philips Pronto Addict/Beta Tester
View Code
View Normal
View the original thread...
©1998-2024, Daniel Tonks. All rights reserved.
Contact
|
Advertise
Home
|
News
|
Reviews
|
Features
|
Files
|
Forums
|
Search