# Natural objects tutorial with sample code

**URL:** <https://techcommunity.softwareag.com/t/natural-objects-tutorial-with-sample-code/174097>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-on-Mainframes\
**Created:** [January 23, 2014, 2:19pm UTC](https://techcommunity.softwareag.com/t/natural-objects-tutorial-with-sample-code/174097 "2014-01-23T14:19:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lean\_Cou](https://avatars.discourse-cdn.com/v4/letter/l/ad7895/32.png) [@Lean\_Cou](https://techcommunity.softwareag.com/u/Lean_Cou)\
**Post date:** [January 23, 2014, 2:19pm UTC](https://techcommunity.softwareag.com/t/natural-objects-tutorial-with-sample-code/174097/1 "2014-01-23T14:19:31Z")

</div>

Hello,

Could someone provide a link for a Natural class tutorial?  
The Natural documentation is very poor. It has no code samples.  
[http://techcommunity.softwareag.com/ecosystem/documentation/natural/nat638unx/sm/definecl.htm](http://techcommunity.softwareag.com/ecosystem/documentation/natural/nat638unx/sm/definecl.htm)

I just would like to know how to create a class with some methods and parameters, and how to make use of it, instantiating an object etc.

If I type “e class”, I can create a class, but I don’t know the syntax to create it…

Thank you.

---

<div class="post-metadata">

**Author:** ![Ronald\_Wijchers](https://avatars.discourse-cdn.com/v4/letter/r/e5b9ba/32.png) [@Ronald\_Wijchers](https://techcommunity.softwareag.com/u/Ronald_Wijchers)\
**Post date:** [February 5, 2014, 7:50am UTC](https://techcommunity.softwareag.com/t/natural-objects-tutorial-with-sample-code/174097/2 "2014-02-05T07:50:29Z")

</div>

Did you look at the NaturalX documentation ?

[url][http://techcommunity.softwareag.com/ecosystem/documentation/natural/nat638unx/pg/pg\_natx\_dev.htm#pg\_natx\_dev[/url]](http://techcommunity.softwareag.com/ecosystem/documentation/natural/nat638unx/pg/pg_natx_dev.htm#pg_natx_dev%5B/url%5D)

I admit, you have to dive into it as with all SAG documentation, but it does contain code samples for the different statements. They are just not in one place, unfortunately, so you have to ‘click around’ a bit :?

Ronald

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 3:30pm UTC](https://techcommunity.softwareag.com/t/natural-objects-tutorial-with-sample-code/174097/3 "2021-04-02T15:30:10Z")

</div>


