/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
- /**
- 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;
- }