-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello Hallvord,
Friday, April 7, 2006, 12:51:15 AM, you wrote:
> 1) Normal arrays will print out as a comma-separated
list of values
> if you just do
> opera.postError(array)
> 2) Objects (with name=>value like other languages
sometimes call
> associative arrays) can be "inspected" with
some simple for..in
> tricks.
> function objinspect(obj){var s='';for(var e in
> obj)s+=e+':'+obj[e]+'\n';opera.postError(s);}
> objinspect(object)
> Hope this helps.
thank you, yes it helps . I didn't
find out about the second option. Have to save that.
- --
Best regards,
Jurgen
"Housework is so wonderfully patient that it waits for
you no matter HOW long you put if off."
Using The Bat! v3.72.04 (Beta)
Opera v8.53.7722 on WinXP Home v2600 SP2
* PGP key available on request: send mail with subject PGP
key request
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
iD8DBQFENfIkoXyU9LPZSMERAgvJAJ9Uu816gS53lVOgCDmIew21bZfmhwCf
UMwz
k/dsIw2DGEtsQaBrYcln57g=
=XMT2
-----END PGP SIGNATURE-----
--
Unsubscribe: mailto:opera-users-request opera.com?subject=unsubscribe
|