/jEdit/tags/jedit-4-1-pre5/bsh/commands/object.bsh
Unknown | 19 lines | 15 code | 4 blank | 0 comment | 0 complexity | 801e335b17b93b9e0db3f9814159047f MD5 | raw file
Possible License(s): BSD-3-Clause, AGPL-1.0, Apache-2.0, LGPL-2.0, LGPL-3.0, GPL-2.0, CC-BY-SA-3.0, LGPL-2.1, GPL-3.0, MPL-2.0-no-copyleft-exception, IPL-1.0
- /**
- Returns a new bsh object which you can use to hold data items.
- e.g.
- <p>
- <pre>
- myStuff = object();
- myStuff.foo = 42;
- myStuff.bar = "blah";
- </pre>
- @method This object()
- */
- bsh.help.object = "usage: object()";
- object() {
- return this;
- }