Re: __data__ object
Alex Russell <[email protected]>
| Newsgroups | gmane.comp.windows.devel.netwindows |
|---|---|
| Organization | netWindows.org |
| Message-ID | <[email protected]> |
On Sunday 07 September 2003 21:48, Christian Boulanger wrote:
> Duh. I found it: it is "eval" as the "profile" parameter.
> But the Javascript would still be in this format?
>
> var myObj = { arrProp : ["foo", "bar"],
> strProp : "baz",
> };
> myObj;
Yes. The "eval" type has the same net effect as an eval(NW_getFileTxt(...)),
and should be treated in exactly the same way. The only caveat here is that
the contents of the script will need to be careful about greater-than and
less-than characters.
HTH
--
Alex Russell
[email protected] BD10 7AFC 87F6 63F9 1691 83FA 9884 3A15 AFC9 61B7
[email protected] F687 1964 1EF6 453E 9BD0 5148 A15D 1D43 AB92 9A46
_______________________________________________
The netWindows developers list: [email protected]
http://netwindows.org/mailman/listinfo/devel_netwindows.org